]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/dired-aux.el (dired-query): Don't assume help-char is modifier-free.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 2 Dec 2011 14:18:18 +0000 (09:18 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 2 Dec 2011 14:18:18 +0000 (09:18 -0500)
Fixes: debbugs:10191
lisp/ChangeLog
lisp/dired-aux.el

index fc32133f3f8d3c8ebd6591378e0cb89ea8b2531c..c14312209b6fbe916f1f3464bdf8a3388a317bc2 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * dired-aux.el (dired-query): Don't assume help-char is modifier-free
+       (bug#10191).
+
 2011-12-02  Juri Linkov  <juri@jurta.org>
 
        * info.el (Info-search): Display "end of manual" when Isearch
        (gdb-gud-context-command, gdb-non-stop-handler)
        (gdb-current-context-command, gdb-stopped): Use it.
        (gdb-init-1): Enable pretty printing here.
-       (gdb-non-stop-handler): Don't enable pretty-printing here.  Check
-       to see if the target supports non-stop mode; if not, turn off
+       (gdb-non-stop-handler): Don't enable pretty-printing here.
+       Check to see if the target supports non-stop mode; if not, turn off
        non-stop mode.  Use the following.
        (gdb-check-target-async): New defun.
        (gud-watch, gdb-stopped): Fix whitespace.
index b63940cec2dd8ff903e4abf85bbc5d15cc4536cf..757e814dba17a6b4db91141892c05a239af8e4df 100644 (file)
@@ -927,8 +927,7 @@ return t; if SYM is q or ESC, return nil."
                 (concat (apply 'format prompt args)
                         (if help-form
                             (format " [Type yn!q or %s] "
-                                    (key-description
-                                     (char-to-string help-char)))
+                                    (key-description (vector help-char)))
                           " [Type y, n, q or !] ")))
           (set sym (setq char (read-char-choice prompt char-choices)))
           (if (memq char '(?y ?\s ?!)) t)))))