aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-emacs.el
AgeCommit message (Expand)Author
2015-07-20emacs: Require 'cl-lib'....* emacs/guix-emacs.el: Require 'cl-lib', for 'cl-pushnew'. Ludovic Courtès
2015-07-20emacs: Fix reference to directory variable....This is a followup to commit 7741139080a6b00aa4f1846fe7668859e91bec58. * emacs/guix-emacs.el (guix-emacs-find-autoloads): Fix variable reference to 'elisp-root-dir'. Signed-off-by: Alex Kost <alezost@gmail.com> Christopher Allan Webber
2015-07-11emacs: 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'. Alex Kost
2014-12-02emacs: Handle autoloading Emacs packages installed with Guix....* emacs/guix-emacs.el: New file. * emacs.am (ELFILES): Add it. * emacs/guix-backend.el (guix-after-repl-operation-hook): Add 'guix-emacs-load-autoloads-maybe'. * emacs/guix-init.el.in: Autoload emacs packages. (guix-package-enable-at-startup): New variable. Alex Kost