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

(Fsingle_key_description): Undo previous change.

(describe_map): Skip string entries.
parent 4f9b95e5
......@@ -1438,11 +1438,8 @@ 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, string, or symbol.");
error ("KEY must be an integer, cons, or symbol.");
......@@ -2076,6 +2073,9 @@ describe_map (map, keys, elt_describer, partial, shadow, seen)
else if (CONSP (XCONS (tail)->car))
event = XCONS (XCONS (tail)->car)->car;
/* Don't show individual items in the Buffers menu. */
if (STRINGP (event))
definition = get_keyelt (XCONS (XCONS (tail)->car)->cdr, 0);
/* Don't show undefined commands or suppressed commands. */
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