diff options
author | Alex Kost <alezost@gmail.com> | 2016-02-08 20:18:25 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2016-02-18 11:59:03 +0300 |
commit | 19a9c6f47c9161f6596c31625531c83b13f4d4ae (patch) | |
tree | bb9ef98d2dafe2b0840e9fe4bb95ac3e6ad88c76 /emacs/guix-devel.el | |
parent | 5dccaffe64d6422049815115831373e8b4ffa8ec (diff) | |
download | guix-19a9c6f47c9161f6596c31625531c83b13f4d4ae.tar.gz |
emacs: Autoload hooks instead of putting them in 'guix-init'.
* emacs/guix-init.el: Move adding hooks to... * emacs/guix-build-log.el: ... here. * emacs/guix-devel.el: ... and here.
Diffstat (limited to 'emacs/guix-devel.el')
-rw-r--r-- | emacs/guix-devel.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/guix-devel.el b/emacs/guix-devel.el index 8eb030942c..ee8371ce81 100644 --- a/emacs/guix-devel.el +++ b/emacs/guix-devel.el @@ -364,6 +364,9 @@ bindings: (when guix-devel-activate-mode (guix-devel-mode))) +;;;###autoload +(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe) + (defvar guix-devel-emacs-font-lock-keywords (eval-when-compile |