summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2021-05-05 09:52:02 +0200
committerLeo Prikler <leo.prikler@student.tugraz.at>2021-05-05 10:01:48 +0200
commit0f116d7f909b6c1f1cc95c8b07d688b697d229b1 (patch)
tree947d72c4a7ddd040004ec78da9e83cf1d3178d68 /guix
parentc1036042a52ea25fa833b5b30d18b9f198b74727 (diff)
build-system: emacs: Clarify %install-dir.
The old comment is no longer adequate, see <https://lists.gnu.org/archive/html/guix-patches/2021-05/msg00113.html>. * guix/build/emacs-build-system.scm (%install-dir): Adjust comment to better reflect usage of this variable.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/emacs-build-system.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm
index ae0f2e569e..e41e9a6595 100644
--- a/guix/build/emacs-build-system.scm
+++ b/guix/build/emacs-build-system.scm
@@ -43,9 +43,12 @@
;;
;; Code:
-;;; All the packages are installed directly under site-lisp, which means that
-;;; having that directory in the EMACSLOADPATH is enough to have them found by
-;;; Emacs.
+;;; The location in which Emacs looks for packages. Emacs Lisp code that is
+;;; installed there directly will be found when that directory is added to
+;;; EMACSLOADPATH. To avoid clashes between packages (particularly considering
+;;; auxiliary files), we install them one directory level below, however.
+;;; This indirection is handled by ‘expand-load-path’ during build and a
+;;; profile hook otherwise.
(define %install-dir "/share/emacs/site-lisp")
;; These are the default inclusion/exclusion regexps for the install phase.