diff options
author | Alan Pearce | 2013-06-08 13:34:44 +0100 |
---|---|---|
committer | Alan Pearce | 2013-06-08 13:34:44 +0100 |
commit | 840c6f683c5fa5f41b95d254e3a87aa245630160 (patch) | |
tree | 5ccd28f4106133e532e9173704b32400712d37ee | |
parent | e4760e1c9358c48887ff47f5a4b28ebc30328471 (diff) | |
download | dotfiles-840c6f683c5fa5f41b95d254e3a87aa245630160.tar.lz dotfiles-840c6f683c5fa5f41b95d254e3a87aa245630160.tar.zst dotfiles-840c6f683c5fa5f41b95d254e3a87aa245630160.zip |
Emacs: add lisp-common-mode-hook to allow cleaner setup of Lisp modes
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 65a2501..6a37030 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -9,6 +9,12 @@ user-full-name "Alan Pearce" custom-file "~/.emacs.d/custom.el") +;;; Allow lisps to use a common setup. I don't know why they don't have some lispy mode as their parent, but this is close enough +(defcustom lisp-common-mode-hook nil + "Hook run when entering any Lisp mode." + :type 'hook + :group 'lisp) + ;;;; Environment & Location (defun env/get-location () |