emacs: Use only one guix-load-path variable.

emacs/guix-init.el (guix-load-path): Move to ...
emacs/guix-backend.el (guix-load-path): ... Here. Redefine it.
This commit is contained in:
Mathieu Lirzin 2015-07-27 23:20:09 +02:00
parent 7061938fdb
commit 9a479bc383
2 changed files with 1 additions and 7 deletions

View file

@ -55,9 +55,7 @@
(require 'guix-config)
(require 'guix-emacs)
(defvar guix-load-path
(file-name-directory (or load-file-name
(locate-library "guix")))
(defvar guix-load-path guix-emacs-interface-directory
"Directory with scheme files for \"guix.el\" package.")
(defvar guix-helper-file

View file

@ -1,9 +1,5 @@
(require 'guix-config)
(require 'guix-autoloads)
(defvar guix-load-path guix-emacs-interface-directory
"Directory with scheme files for \"guix.el\" package.")
(defcustom guix-package-enable-at-startup t
"If non-nil, activate Emacs packages installed in a user profile.
Set this variable to nil before requiring `guix-init' file to