]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix a typo in window.el
authorEli Zaretskii <eliz@gnu.org>
Wed, 14 Dec 2022 15:08:46 +0000 (17:08 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 14 Dec 2022 15:08:46 +0000 (17:08 +0200)
* lisp/window.el (switch-to-prev-buffer-skip-p): Fix typo.
Patch by Shuguang Sun <shuguang79@qq.com>.  (Bug#59985)

lisp/window.el

index a11293d372a9f1a42c9d637d55d024f28f7ae97a..7d8ee48635a0058a71bd47ba700bc2da1e8fe7ca 100644 (file)
@@ -4636,7 +4636,7 @@ omitted in calls from `switch-to-next-buffer'."
                     (catch 'found
                       (dolist (regexp switch-to-prev-buffer-skip-regexp)
                         (when (string-match-p regexp (buffer-name buffer))
-                          (throw 'tag t)))))))))
+                          (throw 'found t)))))))))
 
 (defun switch-to-prev-buffer (&optional window bury-or-kill)
   "In WINDOW switch to previous buffer.