Mark all temp buffers as unreal
Hopefully there are no plugins that use temp buffers to display things!
This commit is contained in:
parent
bf44c1abcc
commit
ec6372ef66
1 changed files with 1 additions and 0 deletions
|
@ -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)))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue