feature/workspaces: fix infinite recursion in buffer-predicate #399

By refactoring so that the middle-man buffer predicate wasn't necessary.
This commit is contained in:
Henrik Lissner 2018-02-03 18:06:44 -05:00
parent 76a1e8a279
commit 3830a8aba1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 8 deletions

View file

@ -491,7 +491,7 @@ character that looks like a space that `whitespace-mode' won't affect.")
;; simple name in frame title
(setq frame-title-format '("%b Doom Emacs"))
;; make `next-buffer', `other-buffer', etc. ignore unreal buffers
(push '(buffer-predicate . doom-buffer-frame-predicate) default-frame-alist)
(map-put default-frame-alist 'buffer-predicate #'doom-buffer-frame-predicate)
;; draw me like one of your French editors
(tooltip-mode -1) ; relegate tooltips to echo area only
(menu-bar-mode -1)