; Improve documentation of 'switch-to-prev-buffer-skip-regexp'
* lisp/window.el (switch-to-prev-buffer-skip-regexp): * etc/NEWS: * doc/lispref/windows.texi (Window History): Improve wording of the documentation of 'switch-to-prev-buffer-skip-regexp'. (Bug#19070)
This commit is contained in:
parent
ba20b68d55
commit
36e84d2289
3 changed files with 9 additions and 9 deletions
|
@ -4174,9 +4174,9 @@ these functions can switch to.
|
|||
@end defopt
|
||||
|
||||
@defopt switch-to-prev-buffer-skip-regexp
|
||||
This user option should be either a regular expression, or a list of
|
||||
regular expressions, and buffers that have names that match this
|
||||
option will be ignored by @code{switch-to-prev-buffer} and
|
||||
This user option should be either a regular expression or a list of
|
||||
regular expressions. Buffers whose names match one of those regular
|
||||
expressions will be ignored by @code{switch-to-prev-buffer} and
|
||||
@code{switch-to-next-buffer} (except when there's no other buffer to
|
||||
switch to).
|
||||
@end defopt
|
||||
|
|
4
etc/NEWS
4
etc/NEWS
|
@ -258,8 +258,8 @@ startup. Previously, these functions ignored
|
|||
|
||||
+++
|
||||
*** New user option 'switch-to-prev-buffer-skip-regexp'.
|
||||
This should be a regexp or a list of regexps, and buffers with names
|
||||
matching this will be ignored by 'switch-to-prev-buffer' and
|
||||
This should be a regexp or a list of regexps; buffers whose names
|
||||
match those regexps will be ignored by 'switch-to-prev-buffer' and
|
||||
'switch-to-next-buffer'.
|
||||
|
||||
** Menus
|
||||
|
|
|
@ -4592,10 +4592,10 @@ Also see `switch-to-prev-buffer-skip-regexp'."
|
|||
:group 'windows)
|
||||
|
||||
(defcustom switch-to-prev-buffer-skip-regexp nil
|
||||
"Regexp matching buffers that should be skipped by `switch-to-prev-buffer'.
|
||||
This also affects `switch-to-next-buffer'.
|
||||
|
||||
This can either be a regexp or a list of regexps.
|
||||
"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'.
|
||||
|
||||
Also see `switch-to-prev-buffer-skip'."
|
||||
:type '(choice regexp
|
||||
|
|
Loading…
Add table
Reference in a new issue