From: Paul Eggert Date: Thu, 7 Apr 2011 02:51:18 +0000 (-0700) Subject: * keyboard.c (access_keymap_keyremap): Print func name, not garbage. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~356^2~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bff87ef0301f6039ffcf1f2eb5503fa262a32285;p=emacs.git * keyboard.c (access_keymap_keyremap): Print func name, not garbage. --- diff --git a/src/ChangeLog b/src/ChangeLog index 34e0e1b4cad..d31710bcbca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-04-07 Paul Eggert + + * keyboard.c (access_keymap_keyremap): Print func name, not garbage. + 2011-04-06 Paul Eggert * coding.c (Fdecode_sjis_char): Don't assume CODE fits in int. diff --git a/src/keyboard.c b/src/keyboard.c index ae4fddb2c89..7a8451d8375 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8778,7 +8778,8 @@ access_keymap_keyremap (Lisp_Object map, Lisp_Object key, Lisp_Object prompt, (To ignore it safely, we would need to gcpro a bunch of other variables.) */ if (! (VECTORP (next) || STRINGP (next))) - error ("Function %s returns invalid key sequence", tem); + error ("Function %s returns invalid key sequence", + SSDATA (SYMBOL_NAME (tem))); } return next; }