diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-27 17:45:40 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-27 17:45:40 -0700 |
commit | 51639eace139fdbed3522d4f752d771e6c66b067 (patch) | |
tree | 74548b62a9dd76aa217e19bbe2ed27fa2a256bf3 | |
parent | 92394119721e6a581c344fa5c0e47faa9283ddef (diff) | |
download | emacs-51639eace139fdbed3522d4f752d771e6c66b067.tar.gz |
* eval.c (Fautoload): Don't double-shift a pointer.
-rw-r--r-- | src/ChangeLog | 2 | ||||
-rw-r--r-- | src/eval.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a43e61f8278..442e8e3b1f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-28 Paul Eggert <eggert@cs.ucla.edu> + * eval.c (Fautoload): Don't double-shift a pointer. + * fns.c (Frandom): Let EMACS_UINT be wider than unsigned long. 2011-04-27 Paul Eggert <eggert@cs.ucla.edu> diff --git a/src/eval.c b/src/eval.c index bcbbf740153..88b8572a33e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -2144,7 +2144,7 @@ this does nothing and returns nil. */) We used to use 0 here, but that leads to accidental sharing in purecopy's hash-consing, so we use a (hopefully) unique integer instead. */ - docstring = make_number (XHASH (function)); + docstring = make_number (XPNTR (function)); return Ffset (function, Fpurecopy (list5 (Qautoload, file, docstring, interactive, type))); |