Emacs: Skip buffers beginning with “Pfuture-Callback”.

This commit is contained in:
tastytea 2020-11-13 20:37:51 +01:00
parent bebe46145d
commit 0bff83a55d
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-08-03T00:19:52+0200>
;; Time-stamp: <2020-11-13T20:37:25+0100>
;;; Commentary:
;; * Setup scratch buffer.
@ -18,7 +18,8 @@
:custom ((initial-scratch-message nil) ; Make scratch buffer empty,
(initial-major-mode 'gfm-mode)) ; and select mode.
:config (progn
(defvar my/skippable-buffers '("^\\*" "^magit[:-]")
(defvar my/skippable-buffers
'("^\\*" "^magit[:-]" "^Pfuture-Callback")
"Buffer names ignored by `next-buffer' and `previous-buffer'.")
(defvar my/never-skippable-buffers
'("^\\*scratch\\*$" "^\\*Easy-hugo\\*$")