all repos — nixfiles @ 840c6f683c5fa5f41b95d254e3a87aa245630160

System and user configuration, managed by nix and home-manager

Emacs: add lisp-common-mode-hook to allow cleaner setup of Lisp modes

Alan Pearce
commit

840c6f683c5fa5f41b95d254e3a87aa245630160

parent

e4760e1c9358c48887ff47f5a4b28ebc30328471

1 file changed, 6 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -9,6 +9,12 @@ user-mail-address "alan@alanpearce.co.uk"
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 ()