Disable highlight-indent-guides-mode in org-indent-mode

This commit is contained in:
Henrik Lissner 2020-07-31 01:25:20 -04:00
parent 8f7a8be0ca
commit 2c158a4112
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -19,7 +19,7 @@
#'+indent-guides-init-faces-h)
;; `highlight-indent-guides' breaks when `org-indent-mode' is active
(add-hook! 'org-indent-mode-hook
(add-hook! 'org-mode-local-vars-hook
(defun +indent-guides-disable-maybe-h ()
(when highlight-indent-guides-mode
(when (and highlight-indent-guides-mode org-indent-mode)
(highlight-indent-guides-mode -1)))))