aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-07-10 22:20:41 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-07-10 22:20:41 -0400
commit37085f29769963c441340398e673a316be5190b2 (patch)
treed54cf12893df57a360a327fc01a6ab205fcd1ef6 /init.el
parentMake `pdf-view-midnight-colors` match Emacs theme (diff)
downloadmmosmacs-37085f29769963c441340398e673a316be5190b2.tar.gz
mmosmacs-37085f29769963c441340398e673a316be5190b2.tar.bz2
mmosmacs-37085f29769963c441340398e673a316be5190b2.zip
Check parens before saving Emacs Lisp files
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.el b/init.el
index 8cd09b9..27bb531 100644
--- a/init.el
+++ b/init.el
@@ -1201,7 +1201,11 @@
1201(use-package elisp-mode 1201(use-package elisp-mode
1202 :straight (:type built-in) 1202 :straight (:type built-in)
1203 :commands (emacs-lisp-mode) 1203 :commands (emacs-lisp-mode)
1204 :hook (emacs-lisp-mode . flycheck-mode)) 1204 :hook
1205 (emacs-lisp-mode . flycheck-mode)
1206 (emacs-lisp-mode . (lambda ()
1207 (add-hook 'local-write-file-hooks
1208 'check-parens))))
1205 1209
1206 1210
1207;; --------------------------------- 1211;; ---------------------------------