]> git.eshelyaron.com Git - emacs.git/commit
Fix display-buffer-override-next-command (bug#71654)
authorRodrigo Kassick <kassick@gmail.com>
Wed, 19 Jun 2024 21:04:08 +0000 (23:04 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 21 Jun 2024 19:00:39 +0000 (21:00 +0200)
commit4aced351e411409d23ecab590a352f35149e82fb
tree477abb5518b19ecd8645b492d2028752eb0e8ba3
parent4bccba1db18d2131f3613b08ebde84fa022a3057
Fix display-buffer-override-next-command (bug#71654)

* lisp/window.el (display-buffer-override-next-command):
display-buffer-overriding-action's car can be either a function or a
list of functions. When a function,
(push action (car display-buffer-overriding-action)) will create a
cons-cell (action . function) instead of a list. In the clear-fun
callback, trying to
(delq action (car display-buffer-overriding-action)) causes an
wrong-type-argument error.

Copyright-paperwork-exempt: yes
(cherry picked from commit 374f4235d5e78def23d92b05f3d0257c1f609725)
lisp/window.el