diff options
author | Alex Kost <alezost@gmail.com> | 2015-07-24 18:33:14 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-09-23 13:36:37 +0300 |
commit | 187f80c6c542bc65486ef600aa3af96f7173f4fa (patch) | |
tree | 8a894bb9b8c5a0ea9dc0e044ee755288cbe7991e /emacs/guix-init.el | |
parent | 6f05a24df305fc6b79695dd111ec5ff5464ea63e (diff) | |
download | patches-187f80c6c542bc65486ef600aa3af96f7173f4fa.tar patches-187f80c6c542bc65486ef600aa3af96f7173f4fa.tar.gz |
emacs: Add development utils.
* emacs/guix-guile.el (guix-guile-current-module): New function.
* emacs/guix-devel.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Development): New node.
(Emacs Interface): Add it.
* doc/contributing.texi (The Perfect Setup): Mention it.
* doc/guix.texi (Top): Add it.
* emacs/guix-init.el: Add 'guix-devel-activate-mode-maybe' to
'scheme-mode-hook'.
Diffstat (limited to 'emacs/guix-init.el')
-rw-r--r-- | emacs/guix-init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/guix-init.el b/emacs/guix-init.el index 3a727c7eb6..96aa0c2ffc 100644 --- a/emacs/guix-init.el +++ b/emacs/guix-init.el @@ -12,4 +12,6 @@ avoid loading autoloads of Emacs packages installed in (require 'guix-emacs) (guix-emacs-load-autoloads 'all)) +(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe) + (provide 'guix-init) |