Fix 'void-variable: org-indent-mode' error
This commit is contained in:
parent
f82775fead
commit
4c1ad04e7f
1 changed files with 3 additions and 2 deletions
|
@ -21,5 +21,6 @@
|
||||||
;; `highlight-indent-guides' breaks when `org-indent-mode' is active
|
;; `highlight-indent-guides' breaks when `org-indent-mode' is active
|
||||||
(add-hook! 'org-mode-local-vars-hook
|
(add-hook! 'org-mode-local-vars-hook
|
||||||
(defun +indent-guides-disable-maybe-h ()
|
(defun +indent-guides-disable-maybe-h ()
|
||||||
(when (and highlight-indent-guides-mode org-indent-mode)
|
(and highlight-indent-guides-mode
|
||||||
|
(bound-and-true-p org-indent-mode)
|
||||||
(highlight-indent-guides-mode -1)))))
|
(highlight-indent-guides-mode -1)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue