summaryrefslogtreecommitdiff
path: root/emacs/guix-emacs.el
AgeCommit message (Collapse)Author
2015-12-11emacs: Handle compiled autoloads.Alex Kost
* emacs/guix-emacs.el (guix-emacs-autoloads-regexp): New variable. (guix-emacs-find-autoloads-in-directory): Return a list of autoloads without extensions.
2015-12-06emacs: 'guix-emacs-load-autoloads' takes a profile.Alex Kost
* emacs/guix-emacs.el (guix-emacs-load-autoloads): Use 'profile' as an optional argument. (guix-emacs-load-autoloads-maybe): Adjust accordingly. * emacs/guix-init.el: Likewise.
2015-07-20emacs: Require 'cl-lib'.Ludovic Courtès
* emacs/guix-emacs.el: Require 'cl-lib', for 'cl-pushnew'.
2015-07-20emacs: Fix reference to directory variable.Christopher Allan Webber
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>
2015-07-11emacs: Find autoloads in "guix.d" subdirectories.Alex Kost
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'.
2014-12-02emacs: Handle autoloading Emacs packages installed with Guix.Alex Kost
* 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.