Mercurial > emacs
changeset 45400:ba8657702375
* eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of
XSYMBOL and name field.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 20 May 2002 08:05:37 +0000 |
parents | 32cb1788d9cd |
children | 317e23417505 |
files | src/eval.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c Mon May 20 08:05:32 2002 +0000 +++ b/src/eval.c Mon May 20 08:05:37 2002 +0000 @@ -1910,7 +1910,7 @@ of what files are preloaded and when. */ if (! NILP (Vpurify_flag)) error ("Attempt to autoload %s while preparing to dump", - XSYMBOL (funname)->name->data); + XSTRING (SYMBOL_NAME (funname))->data); fun = funname; CHECK_SYMBOL (funname); @@ -1949,7 +1949,7 @@ if (!NILP (Fequal (fun, fundef))) error ("Autoloading failed to define function %s", - XSYMBOL (funname)->name->data); + XSTRING (SYMBOL_NAME (funname))->data); UNGCPRO; }