Emacs: Replace killed buffers with same purpose.
This commit is contained in:
parent
6ee4d6fa25
commit
df4d30be8d
|
@ -1,6 +1,6 @@
|
|||
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-01-24T23:25:31+0100>
|
||||
;; Time-stamp: <2020-01-25T00:27:35+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * Setup scratch buffer.
|
||||
|
@ -87,9 +87,9 @@
|
|||
'(help-buffers
|
||||
purpose-display-reuse-window-buffer))
|
||||
|
||||
;; All Magit buffers have the same purpose.
|
||||
(require 'window-purpose-x)
|
||||
(purpose-x-magit-single-on)
|
||||
(purpose-x-magit-single-on) ; All Magit buffers have the same purpose.
|
||||
(purpose-x-kill-setup) ; Replace killed buffers with same purpose.
|
||||
|
||||
:bind
|
||||
("<f2>" . purpose-toggle-window-purpose-dedicated)
|
||||
|
|
Loading…
Reference in New Issue
Block a user