]> git.eshelyaron.com Git - emacs.git/commit
Fix accidental backward-incompatible change (bug#62417)
authorJoão Távora <joaotavora@gmail.com>
Mon, 27 Mar 2023 11:25:16 +0000 (12:25 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 27 Mar 2023 11:59:14 +0000 (12:59 +0100)
commitedc460e3b6c38eee97dde847987b2c29dd134653
tree89dce921cf45579d001f9896dd042e7600c43b57
parentcbef1422fe3ba5d3327835f3952a0f42f7881716
Fix accidental backward-incompatible change (bug#62417)

This code used to work, but with the change of 59ecf25fc860 it stopped
working:

   (defun foop (buffer-name _alist) (string-match "foop" buffer-name))
   (add-to-list 'display-buffer-alist '(foop . display-buffer-other-frame))

This change makes it work again, restoring compatibility.

* lisp/subr.el (buffer-match-p): Fix and adjust docstring.
* lisp/window.el (display-buffer-alist): Adjust docstring.
(display-buffer-assq-regexp): Make good on promise of display-buffer-alist.
lisp/subr.el
lisp/window.el