Emacs: Predicate buffers also for the first frame.
This commit is contained in:
parent
7a339a4aba
commit
e32acbd18b
|
@ -1,6 +1,6 @@
|
|||
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-08-02T00:42:18+0200>
|
||||
;; Time-stamp: <2020-08-03T00:19:52+0200>
|
||||
|
||||
;;; Commentary:
|
||||
;; * Setup scratch buffer.
|
||||
|
@ -35,6 +35,7 @@
|
|||
(if (string-match expression (buffer-name buffer))
|
||||
(throw 'return nil)))
|
||||
t))
|
||||
(set-frame-parameter nil 'buffer-predicate 'my/buffer-predicate)
|
||||
; Doesn't work with use-package?
|
||||
(add-hook 'after-make-frame-functions
|
||||
(lambda (frame)
|
||||
|
|
Loading…
Reference in New Issue
Block a user