Minor refactors & comment revision

This commit is contained in:
Henrik Lissner 2019-05-13 14:37:00 -04:00
parent 646cba3f68
commit 7443669b1e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 16 additions and 14 deletions

View file

@ -14,6 +14,6 @@
(defun +indent-guides|disable-maybe ()
(when highlight-indent-guides-mode
(highlight-indent-guides-mode -1)))
;; `highlight-indent-guides' breaks in `visual-line-mode'
;; `highlight-indent-guides' breaks in these modes
(add-hook 'visual-line-mode-hook #'+indent-guides|disable-maybe)
(add-hook 'org-indent-mode-hook #'+indent-guides|disable-maybe))