mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
Fix last change to wid-edit.el
* lisp/wid-edit.el (widget-choose): Test for stringp instead of char-or-string-p, since substitute-command-keys should only apply to choice values that are strings. (Bug#64046, Message #37)
This commit is contained in:
parent
c601148ded
commit
c55e67081e
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ in the key vector, as in the argument of `define-key'."
|
|||
(let ((items (mapc (lambda (x)
|
||||
(when (consp x)
|
||||
(dotimes (i (1- (length x)))
|
||||
(when (char-or-string-p (nth i x))
|
||||
(when (stringp (nth i x))
|
||||
(setcar (nthcdr i x)
|
||||
(substitute-command-keys
|
||||
(car (nthcdr i x))))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue