]> git.eshelyaron.com Git - emacs.git/commit
Fix regression in 'todo-test-todo-quit02'
authorMartin Rudalics <rudalics@gmx.at>
Thu, 1 Aug 2024 16:04:20 +0000 (18:04 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 2 Aug 2024 10:02:51 +0000 (12:02 +0200)
commitd4969d06e73f73667104c173bfbabcee8fb40b6a
treea434636a922548ed01a91db4d39a50a8916bb5a9
parent7e03378873dbc542998f4cde9ae17fb39cba89bb
Fix regression in 'todo-test-todo-quit02'

* lisp/window.el (switch-to-prev-buffer): If BURY-OR-KILL is
non-nil, remove any 'quit-restore' or 'quit-restore-prev'
parameter referencing the old buffer too.  This fixes a
regression when running 'todo-test-todo-quit02' from 'ert'
(reported by Andrea Corallo <acorallo@gnu.org>).

(cherry picked from commit 0892b66e9b0233cf66d5f6d10bbd9bf096c41755)
lisp/window.el