summaryrefslogtreecommitdiff
path: root/src/lread.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-01-15 13:22:25 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-01-15 13:22:25 +0400
commit2b30549c493d7b67fa92c2b4bcd2bd2e55210ae1 (patch)
treeac4cc77344b3285eb47d5145eb0b28dd6034f54d /src/lread.c
parent1b971ac155006504b6b1c2688199747f976723af (diff)
downloademacs-2b30549c493d7b67fa92c2b4bcd2bd2e55210ae1.tar.gz
* src/lisp.h (XSAVE_POINTER, XSAVE_INTEGER): Change to allow extraction
from any Lisp_Save_Value slot. Add type checking. * src/alloc.c, src/dired.c, src/editfns.c, src/fileio.c, src/ftfont.c: * src/gtkutil.c, src/keymap.c, src/lread.c, src/nsterm.h, src/nsmenu.c: * src/xfns.c, src/xmenu.c, src/xselect.c: All users changed. * admin/coccinelle/xsave.cocci: Semantic patch to adjust users of XSAVE_POINTER and XSAVE_INTEGER macros.
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index ced690a77b0..a01cf099b49 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1357,7 +1357,7 @@ Return t if the file exists and loads successfully. */)
static Lisp_Object
load_unwind (Lisp_Object arg) /* Used as unwind-protect function in load. */
{
- FILE *stream = XSAVE_POINTER (arg);
+ FILE *stream = XSAVE_POINTER (arg, 0);
if (stream != NULL)
{
block_input ();