core-ui: fix whitespace voodoo for highlight-indentation-current-column-mode

This commit is contained in:
Henrik Lissner 2017-04-21 15:56:50 -04:00
parent 9f4150541a
commit bce475df4a

View file

@ -164,7 +164,7 @@ file."
nil) nil)
(add-hook! (highlight-indentation-mode highlight-indentation-current-column-mode) (add-hook! (highlight-indentation-mode highlight-indentation-current-column-mode)
(if highlight-indentation-mode (if (or highlight-indentation-mode highlight-indentation-current-column-mode)
(progn (progn
(doom|inject-trailing-whitespace) (doom|inject-trailing-whitespace)
(add-hook 'before-save-hook #'delete-trailing-whitespace nil t) (add-hook 'before-save-hook #'delete-trailing-whitespace nil t)