changeset 45394:08d6b23b2513

* callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME instead of XSYMBOL and name field.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:05:03 +0000
parents a8851a32a1c7
children 89c5ebcbb7fd
files src/callint.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/callint.c	Mon May 20 08:04:58 2002 +0000
+++ b/src/callint.c	Mon May 20 08:05:03 2002 +0000
@@ -597,7 +597,7 @@
 	  if (next_event >= key_count)
 	    error ("%s must be bound to an event with parameters",
 		   (SYMBOLP (function)
-		    ? (char *) XSYMBOL (function)->name->data
+		    ? (char *) XSTRING (SYMBOL_NAME (function))->data
 		    : "command"));
 	  args[i] = XVECTOR (keys)->contents[next_event++];
 	  varies[i] = -1;