about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-09-01 17:56:56 -0500
committerCase Duckworth2021-09-01 17:56:56 -0500
commitabacb47994482221391eaf289af3d7b707a7d18f (patch)
treebf76c89fef41670438da25e2df256bb1d21b821d
parentAllow all forms in `safe-define' (diff)
downloademacs-abacb47994482221391eaf289af3d7b707a7d18f.tar.gz
emacs-abacb47994482221391eaf289af3d7b707a7d18f.zip
Add checkdoc-minor-mode to emacs-lisp-mode-hook
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el index e3fee58..4248998 100644 --- a/init.el +++ b/init.el
@@ -291,6 +291,8 @@ package. This macro is not repeatable."
291 eval-expression-print-level nil 291 eval-expression-print-level nil
292 lisp-indent-function #'lisp-indent-function) 292 lisp-indent-function #'lisp-indent-function)
293 293
294 (add-hook 'emacs-lisp-mode-hook #'checkdoc-minor-mode)
295
294 (add-hook 'emacs-lisp-mode-hook 296 (add-hook 'emacs-lisp-mode-hook
295 (defun emacs-lisp@enforce-lexical-binding () 297 (defun emacs-lisp@enforce-lexical-binding ()
296 (setq-local lexical-binding t))) 298 (setq-local lexical-binding t)))