diff options
| author | Johan Bockgård | 2008-03-08 16:06:25 +0000 |
|---|---|---|
| committer | Johan Bockgård | 2008-03-08 16:06:25 +0000 |
| commit | ff7d73ac92dbc58de9e2121628c74be1e88e9454 (patch) | |
| tree | 4bc8145da5995b6d49b8b8c603ea9666e2eefec4 | |
| parent | f9f46670af4c9d200f33af1f9fe7031e0fe5babd (diff) | |
| download | emacs-ff7d73ac92dbc58de9e2121628c74be1e88e9454.tar.gz emacs-ff7d73ac92dbc58de9e2121628c74be1e88e9454.zip | |
(while-no-input): Don't splice BODY directly into the `or' form.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/subr.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c8fc4b869ca..7a3ed818b3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * diff-mode.el (diff-ignore-whitespace-hunk): Bind | 8 | * diff-mode.el (diff-ignore-whitespace-hunk): Bind |
diff --git a/lisp/subr.el b/lisp/subr.el index 79de788c365..0488b41319d 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -2599,7 +2599,7 @@ If BODY finishes, `while-no-input' returns whatever value BODY produced." | |||
| 2599 | (catch ',catch-sym | 2599 | (catch ',catch-sym |
| 2600 | (let ((throw-on-input ',catch-sym)) | 2600 | (let ((throw-on-input ',catch-sym)) |
| 2601 | (or (input-pending-p) | 2601 | (or (input-pending-p) |
| 2602 | ,@body)))))) | 2602 | (progn ,@body))))))) |
| 2603 | 2603 | ||
| 2604 | (defmacro condition-case-no-debug (var bodyform &rest handlers) | 2604 | (defmacro condition-case-no-debug (var bodyform &rest handlers) |
| 2605 | "Like `condition-case' except that it does not catch anything when debugging. | 2605 | "Like `condition-case' except that it does not catch anything when debugging. |