summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/warn-variable-let-bind-constant.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2022-12-13 19:47:47 +0200
committerJuri Linkov <juri@linkov.net>2022-12-13 19:48:45 +0200
commita99d0e7e6c903e0e1cb32a458802c1d8d7443cd9 (patch)
tree57ecc4a6e8a155244e0daa82d12a5b5ded55fa6a /test/lisp/emacs-lisp/bytecomp-resources/warn-variable-let-bind-constant.el
parentdef51dd6458d2f276018aaac36283bbe44428de7 (diff)
downloademacs-a99d0e7e6c903e0e1cb32a458802c1d8d7443cd9.tar.gz
emacs-a99d0e7e6c903e0e1cb32a458802c1d8d7443cd9.tar.bz2
emacs-a99d0e7e6c903e0e1cb32a458802c1d8d7443cd9.zip
Support a function in the BUFFER-LIST arg of list-buffers-noselect (bug#59935)
* lisp/buff-menu.el (Buffer-menu-buffer-list): New buffer-local variable. (list-buffers-noselect): Set Buffer-menu-buffer-list to 'buffer-list' that now keeps the buffer-local value of the provided buffer list or a function that returns the buffer list. (list-buffers--refresh): Handle buffer-list and Buffer-menu-buffer-list as a function and as a list. * lisp/progmodes/project.el (project-list-buffers): Let-bind 'buffer-list-function' used by both legacy code and the new version of list-buffers-noselect that supports its arg BUFFER-LIST as a function.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-variable-let-bind-constant.el')
0 files changed, 0 insertions, 0 deletions