; 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)
This commit is contained in:
Eli Zaretskii 2022-12-14 17:08:46 +02:00
parent 102a3e3b44
commit 752f9dde63

View 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.