]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/window.el (switch-to-prev-buffer-skip-regexp): Doc fix (bug#73545).
authorEli Zaretskii <eliz@gnu.org>
Sat, 5 Oct 2024 10:30:30 +0000 (13:30 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 6 Oct 2024 07:01:08 +0000 (09:01 +0200)
(cherry picked from commit 688201ef18df468dc8c7e8eb2ce6a96a9c625517)

lisp/window.el

index a029ae933155b9f0be8aecf9c2f3c77b5090fa9f..115eafb094b933622a201b5419bd815db045d150 100644 (file)
@@ -4660,7 +4660,8 @@ Also see `switch-to-prev-buffer-skip-regexp'."
   "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'.
+and `switch-to-next-buffer', unless there's no other buffer to
+switch to.
 
 Also see `switch-to-prev-buffer-skip'."
   :type '(choice regexp