diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-07-10 22:20:41 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-07-10 22:20:41 -0400 |
commit | 37085f29769963c441340398e673a316be5190b2 (patch) | |
tree | d54cf12893df57a360a327fc01a6ab205fcd1ef6 | |
parent | Make `pdf-view-midnight-colors` match Emacs theme (diff) | |
download | mmosmacs-37085f29769963c441340398e673a316be5190b2.tar.gz mmosmacs-37085f29769963c441340398e673a316be5190b2.tar.bz2 mmosmacs-37085f29769963c441340398e673a316be5190b2.zip |
Check parens before saving Emacs Lisp files
-rw-r--r-- | init.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 | ;; --------------------------------- |