bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32738: 26.1.50; 'read-answer' allows only single characters as short


From: Juri Linkov
Subject: bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers
Date: Mon, 17 Sep 2018 02:00:25 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> -                                   (format "%c" (nth 1 a))
>> +                                   (if (characterp (nth 1 a))
>> +                                       (format "%c" (nth 1 a))
>> +                                     (key-description (nth 1 a)))
>
> This will still display C-a s ^A.  I suggest to use
> single-key-description instead.

I tried single-key-description but it displays ^A,
whereas key-description displays C-a.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]