emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 752f9dde63: ; Fix a typo in window.el


From: Eli Zaretskii
Subject: emacs-29 752f9dde63: ; Fix a typo in window.el
Date: Wed, 14 Dec 2022 10:09:56 -0500 (EST)

branch: emacs-29
commit 752f9dde63199d56c4b7dec0e9fd2c0c0ad182a8
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix a typo in window.el
    
    * lisp/window.el (switch-to-prev-buffer-skip-p): Fix typo.
    Patch by Shuguang Sun <shuguang79@qq.com>.  (Bug#59985)
---
 lisp/window.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/window.el b/lisp/window.el
index a11293d372..7d8ee48635 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]