summary refs log tree commit diff
path: root/pre-inst-env.in
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-06-19 12:31:59 +0300
committerAlex Kost <alezost@gmail.com>2015-07-11 18:21:35 +0300
commit7741139080a6b00aa4f1846fe7668859e91bec58 (patch)
treef078f0dac3b6663ce37e690db69f928b903b0fbc /pre-inst-env.in
parentd43002f64599fb80294d4c00e3a682a2776c885c (diff)
downloadguix-7741139080a6b00aa4f1846fe7668859e91bec58.tar.gz
emacs: Find autoloads in "guix.d" subdirectories.
Co-authored-by: Federico Beffa <beffa@fbengineering.ch>.

* emacs/guix-emacs.el (guix-emacs-find-autoloads-in-directory,
  guix-emacs-subdirs): New functions.
  (guix-emacs-find-autoloads): Search for autoloads in "guix.d"
  subdirectories.
  (guix-emacs-load-autoloads): Add subdirectories to 'load-path'.
* emacs/guix-init.el.in: Do not add guix emacs directory to 'load-path'
  because it will be done by 'guix-emacs-load-autoloads'.  Move
  requiring 'guix-emacs' from the top-level to a clause for checking for
  'guix-package-enable-at-startup'.
Diffstat (limited to 'pre-inst-env.in')
0 files changed, 0 insertions, 0 deletions