457f60fa06
* configure.ac (emacsuidir): New variable. (AC_CONFIG_FILES): Add 'emacs/guix-init.el', 'emacs/guix-helper.scm'. * Makefile.am: Include 'emacs.am'. * emacs.am: New file. * doc/emacs.texi: New file. * doc/guix.texi: Include 'emacs.texi'. * emacs/guix-backend.el: New file. * emacs/guix-base.el: New file. * emacs/guix-helper.scm.in: New file. * emacs/guix-history.el: New file. * emacs/guix-info.el: New file. * emacs/guix-init.el.in: New file. * emacs/guix-list.el: New file. * emacs/guix-main.scm: New file. * emacs/guix-utils.el: New file. * emacs/guix.el: New file.
14 lines
407 B
EmacsLisp
14 lines
407 B
EmacsLisp
(require 'guix-autoloads)
|
|
|
|
(defvar guix-load-path
|
|
(replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@")
|
|
"Directory with scheme files for \"guix.el\" package.")
|
|
|
|
(defvar guix-default-profile
|
|
(concat (or (getenv "NIX_STATE_DIR") "@guix_localstatedir@/guix")
|
|
"/profiles/per-user/"
|
|
(getenv "USER")
|
|
"/guix-profile")
|
|
"Default Guix profile.")
|
|
|
|
(provide 'guix-init)
|