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))