mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix 'void-variable: org-indent-mode' error
This commit is contained in:
@ -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)))))
|
||||||
|
Reference in New Issue
Block a user