Fix occasional aggressive-indent issue

This commit is contained in:
David Morgan 2023-01-17 13:16:46 +00:00
parent 8919b21ba7
commit 2ba485853a
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@
(add-to-list 'aggressive-indent-dont-indent-if
'(and (derived-mode-p 'prog-mode)
(string-match "^\s*;"
(thing-at-point 'line))))
(or (thing-at-point 'line) ""))))
:hook
(emacs-lisp-mode . aggressive-indent-mode))