diff options
| author | Stefan Monnier | 2011-12-02 09:18:18 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-12-02 09:18:18 -0500 |
| commit | 6131ba7f188a4f205d1b7ce9d6bbf657be7dceae (patch) | |
| tree | 373e370000a72d89e0712451c3ee4fbdbd4d56a4 | |
| parent | cb0a02ea733562a3965f7e734dff0a8f98572fcb (diff) | |
| download | emacs-6131ba7f188a4f205d1b7ce9d6bbf657be7dceae.tar.gz emacs-6131ba7f188a4f205d1b7ce9d6bbf657be7dceae.zip | |
* lisp/dired-aux.el (dired-query): Don't assume help-char is modifier-free.
Fixes: debbugs:10191
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/dired-aux.el | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc32133f3f8..c14312209b6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * dired-aux.el (dired-query): Don't assume help-char is modifier-free | ||
| 4 | (bug#10191). | ||
| 5 | |||
| 1 | 2011-12-02 Juri Linkov <juri@jurta.org> | 6 | 2011-12-02 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * info.el (Info-search): Display "end of manual" when Isearch | 8 | * info.el (Info-search): Display "end of manual" when Isearch |
| @@ -194,8 +199,8 @@ | |||
| 194 | (gdb-gud-context-command, gdb-non-stop-handler) | 199 | (gdb-gud-context-command, gdb-non-stop-handler) |
| 195 | (gdb-current-context-command, gdb-stopped): Use it. | 200 | (gdb-current-context-command, gdb-stopped): Use it. |
| 196 | (gdb-init-1): Enable pretty printing here. | 201 | (gdb-init-1): Enable pretty printing here. |
| 197 | (gdb-non-stop-handler): Don't enable pretty-printing here. Check | 202 | (gdb-non-stop-handler): Don't enable pretty-printing here. |
| 198 | to see if the target supports non-stop mode; if not, turn off | 203 | Check to see if the target supports non-stop mode; if not, turn off |
| 199 | non-stop mode. Use the following. | 204 | non-stop mode. Use the following. |
| 200 | (gdb-check-target-async): New defun. | 205 | (gdb-check-target-async): New defun. |
| 201 | (gud-watch, gdb-stopped): Fix whitespace. | 206 | (gud-watch, gdb-stopped): Fix whitespace. |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index b63940cec2d..757e814dba1 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -927,8 +927,7 @@ return t; if SYM is q or ESC, return nil." | |||
| 927 | (concat (apply 'format prompt args) | 927 | (concat (apply 'format prompt args) |
| 928 | (if help-form | 928 | (if help-form |
| 929 | (format " [Type yn!q or %s] " | 929 | (format " [Type yn!q or %s] " |
| 930 | (key-description | 930 | (key-description (vector help-char))) |
| 931 | (char-to-string help-char))) | ||
| 932 | " [Type y, n, q or !] "))) | 931 | " [Type y, n, q or !] "))) |
| 933 | (set sym (setq char (read-char-choice prompt char-choices))) | 932 | (set sym (setq char (read-char-choice prompt char-choices))) |
| 934 | (if (memq char '(?y ?\s ?!)) t))))) | 933 | (if (memq char '(?y ?\s ?!)) t))))) |