* lisp/dired-aux.el (dired-mark-read-string): Use read-from-minibuffer
instead of read-string when op-symbol is 'touch', since it's more clear
when read-from-minibuffer returns an empty string for RET,
and it was used in dired-mark-read-string initially (bug#70725).
(cherry picked from commit
ce8e292bca84f29cea540e3e23e88ec7a5d1674e)
passed as the second arg to `completing-read'."
(apply #'dired-mark-pop-up
nil op-symbol files
- (if (eq op-symbol 'touch) 'read-string 'completing-read)
+ (if (eq op-symbol 'touch) 'read-from-minibuffer 'completing-read)
(format prompt (dired-mark-prompt arg files))
(if (eq op-symbol 'touch)
- `(,initial nil ,default-value nil)
+ `(,initial nil nil nil ,default-value)
`(,collection nil nil ,initial nil ,default-value nil))))
\f