Subject: Re: bug#10191: dired-query (in dired-aux.el) fails for certain help-char's, Emacs 23 and 24

From: Christopher Genovese <[email-masked]>
Date: Fri, 2 Dec 2011 09:33:15 -0500

Ah, much better.  (Silly of me to forget about the vector; not sure what I
was thinking.)

That's terrific, thanks.

 -- Chris

On Fri, Dec 2, 2011 at 09:18, Stefan Monnier <[email-masked]>wrote:

>
> Thanks.  I've installed the patch below which should fix your problem,
>
>
>        Stefan
>
>
> === modified file 'lisp/dired-aux.el'
> --- lisp/dired-aux.el   2011-11-17 09:09:20 +0000
> +++ lisp/dired-aux.el   2011-12-02 14:14:09 +0000
> @@ -927,8 +927,7 @@
>                 (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)))))
>
>