Commit c7edb960 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fsingle_key_description): Enclose function key and

event symbol names in angle brackets.
parent 2a4487ac
......@@ -1952,7 +1952,11 @@ Control characters turn into C-whatever, etc.")
else if (SYMBOLP (key)) /* Function key or event-symbol */
return Fsymbol_name (key);
char *buffer = (char *) alloca (STRING_BYTES (XSYMBOL (key)->name) + 5);
sprintf (buffer, "<%s>", XSYMBOL (key)->name->data);
return build_string (buffer);
else if (STRINGP (key)) /* Buffer names in the menubar. */
return Fcopy_sequence (key);
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