fix(tabs): show unreal buffers in tab list

Fix: #8050
This commit is contained in:
Henrik Lissner
2025-05-07 11:33:32 -04:00
parent 31994ef136
commit 87de6e45f2

View File

@ -27,8 +27,7 @@
(seq-filter (lambda (b) (seq-filter (lambda (b)
(when (buffer-live-p b) (when (buffer-live-p b)
(or (eq (current-buffer) b) (or (eq (current-buffer) b)
(and (not (doom-temp-buffer-p b)) (not (doom-temp-buffer-p b)))))
(not (doom-unreal-buffer-p b))))))
(if (bound-and-true-p persp-mode) (if (bound-and-true-p persp-mode)
(persp-buffer-list) (persp-buffer-list)
(buffer-list)))) (buffer-list))))