From 840c6f683c5fa5f41b95d254e3a87aa245630160 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 8 Jun 2013 13:34:44 +0100 Subject: Emacs: add lisp-common-mode-hook to allow cleaner setup of Lisp modes --- emacs/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'emacs') 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 () -- cgit 1.4.1