From 19a9c6f47c9161f6596c31625531c83b13f4d4ae Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Mon, 8 Feb 2016 20:18:25 +0300 Subject: 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. --- emacs/guix-build-log.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs/guix-build-log.el') diff --git a/emacs/guix-build-log.el b/emacs/guix-build-log.el index e08a88f6cc..f67be16326 100644 --- a/emacs/guix-build-log.el +++ b/emacs/guix-build-log.el @@ -366,6 +366,9 @@ programmatically using hooks: (guix-find-file-or-url file-or-url) (guix-build-log-mode)) +;;;###autoload +(add-hook 'shell-mode-hook 'guix-build-log-minor-mode-activate-maybe) + ;;;###autoload (add-to-list 'auto-mode-alist ;; Regexp for log files (usually placed in /var/log/guix/...) -- cgit v1.2.3