summaryrefslogtreecommitdiff
path: root/notes.org
blob: 43b90ae498f47e92ddbbc85274e1328c11f69006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
* package.el

- package-directory-list (v)
  list of additional directories containing elpa packages. In particular this has an emacs version specific directory where we can install byte compiled files.

- package-unpack (f) 

  does the actual installation, using dynamically bound
  *package-user-dir*. The current version is safe to call without
  network access, but it's probably considered internal.

* workflow
** at package build time
- install using package-unpack (or workalike) into 
  $(DESTDIR)/usr/share/emacs/site-lisp/elpa
** at package install time
   byte compile. Each flavour needs to further interrogate
   the version installed.