From 752f9dde63199d56c4b7dec0e9fd2c0c0ad182a8 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 14 Dec 2022 17:08:46 +0200 Subject: [PATCH] ; Fix a typo in window.el * lisp/window.el (switch-to-prev-buffer-skip-p): Fix typo. Patch by Shuguang Sun . (Bug#59985) --- lisp/window.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2