From: Eli Zaretskii Date: Wed, 14 Dec 2022 15:08:46 +0000 (+0200) Subject: ; Fix a typo in window.el X-Git-Tag: emacs-29.0.90~1177 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=752f9dde63199d56c4b7dec0e9fd2c0c0ad182a8;p=emacs.git ; Fix a typo in window.el * lisp/window.el (switch-to-prev-buffer-skip-p): Fix typo. Patch by Shuguang Sun . (Bug#59985) --- diff --git a/lisp/window.el b/lisp/window.el index a11293d372a..7d8ee48635a 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.