aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Bockgård2008-03-08 16:00:20 +0000
committerJohan Bockgård2008-03-08 16:00:20 +0000
commit8db8d2a130caa52fac45fbc27e9037a0c28fa3ad (patch)
treefba9b3b5567a0633f40233aec87e94e85bb081fc
parentf2549aa0236872e4f0efd29eebc49ccce29f5408 (diff)
downloademacs-8db8d2a130caa52fac45fbc27e9037a0c28fa3ad.tar.gz
emacs-8db8d2a130caa52fac45fbc27e9037a0c28fa3ad.zip
(while-no-input): Don't splice BODY directly into the `or' form.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/subr.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index df60dfec6f4..73cb70ceba0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-03-08 Johan Bockg$(Q)[(Brd <bojohan@gnu.org>
2
3 * subr.el (while-no-input): Don't splice BODY directly into the
4 `or' form.
5
12008-03-06 Kim F. Storm <storm@cua.dk> 62008-03-06 Kim F. Storm <storm@cua.dk>
2 7
3 * help.el (view-emacs-todo): Rename from view-todo. Change users. 8 * help.el (view-emacs-todo): Rename from view-todo. Change users.
diff --git a/lisp/subr.el b/lisp/subr.el
index 329c4ca2c24..2f9cdd769e0 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2478,7 +2478,7 @@ If BODY finishes, `while-no-input' returns whatever value BODY produced."
2478 (catch ',catch-sym 2478 (catch ',catch-sym
2479 (let ((throw-on-input ',catch-sym)) 2479 (let ((throw-on-input ',catch-sym))
2480 (or (input-pending-p) 2480 (or (input-pending-p)
2481 ,@body)))))) 2481 (progn ,@body)))))))
2482 2482
2483(defmacro combine-after-change-calls (&rest body) 2483(defmacro combine-after-change-calls (&rest body)
2484 "Execute BODY, but don't call the after-change functions till the end. 2484 "Execute BODY, but don't call the after-change functions till the end.