From 0f116d7f909b6c1f1cc95c8b07d688b697d229b1 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Wed, 5 May 2021 09:52:02 +0200 Subject: build-system: emacs: Clarify %install-dir. The old comment is no longer adequate, see . * guix/build/emacs-build-system.scm (%install-dir): Adjust comment to better reflect usage of this variable. --- guix/build/emacs-build-system.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'guix') 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. -- cgit v1.2.3