mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-09 08:11:12 -07:00
feat(lib): doom-special-buffer-p: consider special-mode parents
This commit is contained in:
parent
279d27a981
commit
28cb499225
3 changed files with 9 additions and 10 deletions
|
|
@ -62,7 +62,7 @@ be enabled. If any function returns non-nil, the mode will not be activated."
|
|||
(and (not (derived-mode-p 'text-mode 'prog-mode 'conf-mode))
|
||||
(or buffer-read-only
|
||||
(bound-and-true-p cursor-intangible-mode)
|
||||
(derived-mode-p 'special-mode))))
|
||||
(doom-special-buffer-p (current-buffer) t))))
|
||||
;; Org's virtual indentation messes up indent-guides.
|
||||
(defun +indent-guides-in-org-indent-mode-p ()
|
||||
(bound-and-true-p org-indent-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue