@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
+++
*** 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
: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