mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 10:28:09 +01:00
emacs/show: use read-shell-command instead of read-string
This enables auto-completion of commands, something which plain read-string does not do. It's otherwise a drop-in replacement. According to `C-h f`, read-shell-command was introduced in Emacs 23.1 or earlier.
This commit is contained in:
parent
684eeb65c7
commit
a3b46fa8bb
1 changed files with 1 additions and 1 deletions
|
@ -2192,7 +2192,7 @@ message."
|
|||
(interactive (let ((query-string (if current-prefix-arg
|
||||
"Pipe all open messages to command: "
|
||||
"Pipe message to command: ")))
|
||||
(list current-prefix-arg (read-string query-string))))
|
||||
(list current-prefix-arg (read-shell-command query-string))))
|
||||
(let (shell-command)
|
||||
(if entire-thread
|
||||
(setq shell-command
|
||||
|
|
Loading…
Reference in a new issue