diff --git a/core/core-ui.el b/core/core-ui.el index be85bc411..2c2b335b0 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -164,7 +164,7 @@ file." nil) (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 (doom|inject-trailing-whitespace) (add-hook 'before-save-hook #'delete-trailing-whitespace nil t)