diff options
author | David Morgan <djm_uk@protonmail.com> | 2023-01-17 13:16:46 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2023-01-17 13:16:46 +0000 |
commit | 2ba485853a78f71608861f455e702c03dcc4b2a7 (patch) | |
tree | 5b494bf06f10699fb1096be7344eea46f1e7509e /.emacs.d/lisp | |
parent | 8919b21ba75170086eb217105864679fdd9073bb (diff) | |
download | dotfiles-2ba485853a78f71608861f455e702c03dcc4b2a7.tar.gz |
Fix occasional aggressive-indent issue
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index 4c514df..a3b87d2 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -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)) |