]> git.eshelyaron.com Git - emacs.git/commitdiff
* callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME
authorKen Raeburn <raeburn@raeburn.org>
Mon, 20 May 2002 08:05:03 +0000 (08:05 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Mon, 20 May 2002 08:05:03 +0000 (08:05 +0000)
instead of XSYMBOL and name field.

src/callint.c

index fec25a3411a58125ce28b7305d3e47b9adb2ba0c..63f32418954c98a15e10de2fc3d05305571ca20f 100644 (file)
@@ -597,7 +597,7 @@ supply if the command inquires which events were used to invoke it.  */)
          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;