mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
@ -576,7 +576,7 @@ startup (or theme switch) time, so long as `doom--prefer-theme-elc' is non-nil."
|
||||
(defun doom*disable-whitespace-mode-in-childframes (orig-fn)
|
||||
"`whitespace-mode' inundates child frames with whitspace markers, so disable
|
||||
it to fix all that visual noise."
|
||||
(unless (frame-parameter frame 'parent-frame)
|
||||
(unless (frame-parameter nil 'parent-frame)
|
||||
(funcall orig-fn)))
|
||||
(add-function :around whitespace-enable-predicate #'doom*disable-whitespace-mode-in-childframes)
|
||||
|
||||
|
Reference in New Issue
Block a user