mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Mark all temp buffers as unreal
Hopefully there are no plugins that use temp buffers to display things!
This commit is contained in:
@ -112,6 +112,7 @@ The exact criteria for a real buffer is:
|
||||
If BUFFER-OR-NAME is omitted or nil, the current buffer is tested."
|
||||
(when-let* ((buf (ignore-errors (window-normalize-buffer buffer-or-name))))
|
||||
(or (buffer-local-value 'doom-real-buffer-p buf)
|
||||
(not (doom-temp-buffer-p buf))
|
||||
(run-hook-with-args-until-success 'doom-real-buffer-functions buf)
|
||||
(not (run-hook-with-args-until-success 'doom-unreal-buffer-functions buf)))))
|
||||
|
||||
|
Reference in New Issue
Block a user