Skip to content
Snippets Groups Projects
Commit b3fee145 authored by Alex Kost's avatar Alex Kost
Browse files

system: Fix EMACSLOADPATH.

After commit 13fe4891, Emacs package
includes "site-start.el", and it has a priority over
"/etc/emacs/site-start.el" on GuixSD because "/etc/emacs" is added to
the end of 'load-path'.

* gnu/system.scm (operating-system-environment-variables): Change
  EMACSLOADPATH to prepend "/etc/emacs" to 'load-path' instead of
  appending.
parent 004ea629
No related branches found
No related tags found
No related merge requests found
......@@ -581,8 +581,10 @@ (define (operating-system-environment-variables os)
("SSL_CERT_DIR" . "/etc/ssl/certs")
("SSL_CERT_FILE" . "/etc/ssl/certs/ca-certificates.crt")
("GIT_SSL_CAINFO" . "/etc/ssl/certs/ca-certificates.crt")
;; Append the directory of 'site-start.el' to the search path.
("EMACSLOADPATH" . ":/etc/emacs")
;; Prepend the directory of 'site-start.el' to the search path, so
;; that it has higher precedence than the 'site-start.el' file our
;; Emacs package provides.
("EMACSLOADPATH" . "/etc/emacs:")
;; By default, applications that use D-Bus, such as Emacs, abort at startup
;; when /etc/machine-id is missing. Make sure these warnings are non-fatal.
("DBUS_FATAL_WARNINGS" . "0")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment