Merge pull request #1282 from xhcoding/develop
fix +indent-guides|disable-maybe
This commit is contained in:
commit
f27da5e305
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
|||
(setq highlight-indent-guides-highlighter-function #'+indent-guides-for-all-but-first-column)
|
||||
|
||||
(defun +indent-guides|disable-maybe ()
|
||||
(when highlight-indent-guides
|
||||
(highlight-indent-guides -1)))
|
||||
(when highlight-indent-guides-mode
|
||||
(highlight-indent-guides-mode -1)))
|
||||
;; `highlight-indent-guides' breaks in `visual-line-mode'
|
||||
(add-hook 'visual-line-mode-hook #'+indent-guides|disable-maybe)
|
||||
(add-hook 'org-indent-mode-hook #'+indent-guides|disable-maybe))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue