diff options
| author | Richard M. Stallman | 2005-07-03 16:10:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-07-03 16:10:07 +0000 |
| commit | de5544e8b80aaf304e70b56c8f1432a02bb94610 (patch) | |
| tree | 3603b4a3bd415ebaa460f0d74e289e63cf6f56f6 | |
| parent | a4842ffa6e0c4ad1a86e149f990be1e744045d0c (diff) | |
| download | emacs-de5544e8b80aaf304e70b56c8f1432a02bb94610.tar.gz emacs-de5544e8b80aaf304e70b56c8f1432a02bb94610.zip | |
(dired-query): Display question with answer, when the user answers.
| -rw-r--r-- | lisp/dired-aux.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 963866b3554..b517dffe9f7 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -839,6 +839,9 @@ Otherwise, the rule is a compression rule, and compression is done with gzip.") | |||
| 839 | (sit-for 1) | 839 | (sit-for 1) |
| 840 | (apply 'message qprompt qs-args) | 840 | (apply 'message qprompt qs-args) |
| 841 | (setq char (set qs-var (read-char)))) | 841 | (setq char (set qs-var (read-char)))) |
| 842 | ;; Display the question with the answer. | ||
| 843 | (message (concat (apply 'format qprompt qs-args) | ||
| 844 | (char-to-string char))) | ||
| 842 | (memq (cdr elt) '(t y yes))))))) | 845 | (memq (cdr elt) '(t y yes))))))) |
| 843 | 846 | ||
| 844 | ;;;###autoload | 847 | ;;;###autoload |