]> git.eshelyaron.com Git - emacs.git/commit
Adjust completion un/requoting in 'completing-read-multiple'
authorEshel Yaron <me@eshelyaron.com>
Mon, 22 Jan 2024 14:02:19 +0000 (15:02 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jan 2024 14:02:19 +0000 (15:02 +0100)
commit265ec6007a606a36ca7e35214b3c9cc238244aed
treedd04b958356125cf7e2c6910731b50c2f430de5a
parent3b89a149104cd98295b55442b42ac27a853faaaf
Adjust completion un/requoting in 'completing-read-multiple'

Teach 'completing-read-multiple' about 'completion--unquote', so it
can be used with completion tables that perform quoting.  Namely, this
allows reading multiple file names with:

  (completing-read-multiple "Files: " #'completion--file-name-table)

* lisp/emacs-lisp/crm.el (crm--table): New helper function.
(completing-read-multiple): Use it.
lisp/emacs-lisp/crm.el