aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-emacs.el
Commit message (Collapse)AuthorAge
* emacs: Require 'cl-lib'.Ludovic Courtès2015-07-20
| | | | * emacs/guix-emacs.el: Require 'cl-lib', for 'cl-pushnew'.
* emacs: Fix reference to directory variable.Christopher Allan Webber2015-07-20
| | | | | | | | | 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>
* emacs: Find autoloads in "guix.d" subdirectories.Alex Kost2015-07-11
| | | | | | | | | | | | | | 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'.
* emacs: Handle autoloading Emacs packages installed with Guix.Alex Kost2014-12-02
* 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.