Hi all,
is it possible to introduce a boolean variable which controls if
`completing-read-multiple' removes or retains empty strings, so Lisp
programs can let-bind it and call the function then? Keeping empty
strings was the default before commit 9c44569ea2.
I'm thinking about a small change in crm.el:
(defun completing-read-multiple
(prompt table &optional predicate require-match initial-input
hist def inherit-input-method)
...
;; Remove empty strings in the list of read strings.
(split-string input crm-separator t)))
^ Replace with a bool
I'm not asking to change the default again.
Background: AUCTeX relies on empty strings returned by
`completing-read-multiple', and since the commit above, it has an old
copy of the function called `TeX-completing-read-multiple' based on
commit b14abca94. With the advent of custom option `crm-prompt', I
think it would be great if AUCTeX and possibly other packages could
start using what Emacs provides again instead of copying the code every
time it changes.
Best, Arash