summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 0ea80fb1..b447b565 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -17,7 +17,7 @@
      (setq mode-name ,new-name)))
 
 ;;; 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
+(defcustom lisp-mode-common-hook nil
   "Hook run when entering any Lisp mode."
   :type 'hook
   :group 'lisp)
@@ -917,7 +917,7 @@
           (defun autopair-off ()
             (autopair-mode -1))
           (add-hook 'web-mode-hook #'autopair-off)
-          (add-hook 'lisp-common-mode-hook #'autopair-off)
+          (add-hook 'lisp-mode-common-hook #'autopair-off)
           (setq autopair-blink nil
                 autopair-skip-whitespace nil)))
 
@@ -971,7 +971,7 @@
   :diminish "()"
   :commands (paredit-mode)
   :init (progn
-          (add-hook 'lisp-common-mode-hook #'enable-paredit-mode)
+          (add-hook 'lisp-mode-common-hook #'enable-paredit-mode)
           (put #'paredit-forward-delete 'delete-selection 'supersede)
           (put #'paredit-backward-delete 'delete-selection 'supersede)
           (add-hook 'minibuffer-setup-hook #'conditionally-enable-paredit-mode)
@@ -1013,7 +1013,7 @@
 ;;;; Lisps
 
 (defun ap/lisp-setup ()
-  (run-hooks 'lisp-common-mode-hook)
+  (run-hooks 'lisp-mode-common-hook)
   (setq indent-tabs-mode nil)
   (local-set-key (kbd "RET") #'paredit-newline))
 
@@ -1043,13 +1043,13 @@
   :diminish " Λ"
   :defer t
   :init (progn
-          (add-hook 'lisp-common-mode-hook #'turn-on-redshank-mode)))
+          (add-hook 'lisp-mode-common-hook #'turn-on-redshank-mode)))
 
 (req-package ielm
   :defer t
   :config (progn
             (add-hook 'ielm-mode-hook (lambda ()
-                                        (run-hooks 'lisp-common-mode-hook)))))
+                                        (run-hooks 'lisp-mode-common-hook)))))
 
 (req-package slime
   :commands (slime)