Commit f88480e3 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fsingle_key_description): Accept strings as keys since the buffer menu uses

parent e3e86241
......@@ -1438,8 +1438,11 @@ Control characters turn into C-whatever, etc.")
case Lisp_Symbol: /* Function key or event-symbol */
return Fsymbol_name (key);
case Lisp_String:
return key;
error ("KEY must be an integer, cons, or symbol.");
error ("KEY must be an integer, cons, string, or symbol.");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment