diff options
| author | Antoine Beaupré <anarcat@debian.org> | 2022-08-30 10:17:45 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-09-03 08:12:16 -0300 |
| commit | a3b46fa8bbfaf6651f5055bb27aa52a0ef0d3ba2 (patch) | |
| tree | e3e8abc970b7b534446aa8b84d5e2767ed9c5027 /emacs | |
| parent | 684eeb65c7f63bb5dff457f38cc0cc9a2f56ff2b (diff) | |
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.
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/notmuch-show.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 2dcef981..ec998ede 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -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 |
