]> git.eshelyaron.com Git - emacs.git/commit
(buffer-match-p): Replace `&optional` with `&rest` (bug#65797)
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 21 Oct 2023 00:42:04 +0000 (20:42 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 21 Oct 2023 00:42:04 +0000 (20:42 -0400)
commitc94b6397bd95836250b1a2338aedb13d7872345a
tree1dabcc95c8886062f1be55eb4ad8bb8d2e51bab6
parent696411ab8af4ca3e47b8e29482646f69034151eb
(buffer-match-p): Replace `&optional` with `&rest` (bug#65797)

* lisp/subr.el (buffer-match-p--past-warnings): New var.
(buffer-match-p): Use it.  Replace `&optional arg` with `&rest args`.
(match-buffers): Replace `&optional arg` with `&rest args`.

* lisp/window.el (display-buffer-alist): Fix out of date docstring.

* doc/lispref/buffers.texi (Buffer List): Document new calling convention.
doc/lispref/buffers.texi
etc/NEWS
lisp/subr.el
lisp/window.el