HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
522d812
)
(Fkill_buffer): Avoid dangerous side effects in NILP argument.
author
Ken Raeburn
<raeburn@raeburn.org>
Tue, 6 Dec 2005 07:37:47 +0000
(07:37 +0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Tue, 6 Dec 2005 07:37:47 +0000
(07:37 +0000)
src/buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index
a20f6a2
..
d52a710
100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-1359,7
+1359,8
@@
with SIGHUP. */)
/* First run the query functions; if any query is answered no,
don't kill the buffer. */
arglist[0] = Qkill_buffer_query_functions;
- if (NILP (Frun_hook_with_args_until_failure (1, arglist)))
+ tem = Frun_hook_with_args_until_failure (1, arglist);
+ if (NILP (tem))
return unbind_to (count, Qnil);
/* Then run the hooks. */