Mercurial > emacs
comparison src/callint.c @ 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 | 0ed69545b5f3 |
children | ce01a38706ee |
comparison
equal
deleted
inserted
replaced
45393:a8851a32a1c7 | 45394:08d6b23b2513 |
---|---|
595 | 595 |
596 case 'e': /* The invoking event. */ | 596 case 'e': /* The invoking event. */ |
597 if (next_event >= key_count) | 597 if (next_event >= key_count) |
598 error ("%s must be bound to an event with parameters", | 598 error ("%s must be bound to an event with parameters", |
599 (SYMBOLP (function) | 599 (SYMBOLP (function) |
600 ? (char *) XSYMBOL (function)->name->data | 600 ? (char *) XSTRING (SYMBOL_NAME (function))->data |
601 : "command")); | 601 : "command")); |
602 args[i] = XVECTOR (keys)->contents[next_event++]; | 602 args[i] = XVECTOR (keys)->contents[next_event++]; |
603 varies[i] = -1; | 603 varies[i] = -1; |
604 | 604 |
605 /* Find the next parameterized event. */ | 605 /* Find the next parameterized event. */ |