Variable: switch-to-prev-buffer-skip-regexp

switch-to-prev-buffer-skip-regexp is a customizable variable defined in window.el.gz.

Value

nil

Documentation

Buffers that switch-to-prev-buffer and switch-to-next-buffer should skip.

The value can either be a regexp or a list of regexps. Buffers whose names match these regexps are skipped by switch-to-prev-buffer and switch-to-next-buffer, unless there's no other buffer to switch to.

Also see switch-to-prev-buffer-skip.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defcustom switch-to-prev-buffer-skip-regexp nil
  "Buffers that `switch-to-prev-buffer' and `switch-to-next-buffer' should skip.
The value can either be a regexp or a list of regexps.  Buffers whose
names match these regexps are skipped by `switch-to-prev-buffer'
and `switch-to-next-buffer', unless there's no other buffer to
switch to.

Also see `switch-to-prev-buffer-skip'."
  :type '(choice regexp
                 (repeat regexp))
  :version "29.1"
  :group 'windows)