diff options
| author | Andreas Schwab | 2008-06-08 14:10:50 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-06-08 14:10:50 +0000 |
| commit | 24f7ee4cee91afc419cf916859da3041b6086562 (patch) | |
| tree | 7cde6fa40d41481881576876bff401f98cd39af2 | |
| parent | 2bd0c2e02fb6aa129aff58ed78ad428d77f364ce (diff) | |
| download | emacs-24f7ee4cee91afc419cf916859da3041b6086562.tar.gz emacs-24f7ee4cee91afc419cf916859da3041b6086562.zip | |
(minibuffer-message): Bind inhibit-quit around
sit-for.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ae82adca289..5521c6b7ddd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-06-08 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * minibuffer.el (minibuffer-message): Bind inhibit-quit around | ||
| 4 | sit-for. | ||
| 5 | |||
| 1 | 2008-06-08 Martin Rudalics <rudalics@gmx.at> | 6 | 2008-06-08 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | * window.el (split-height-threshold, split-width-threshold): Add | 8 | * window.el (split-height-threshold, split-width-threshold): Add |
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 2582afab3c1..2be39d23dde 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -281,7 +281,10 @@ If ARGS are provided, then pass MESSAGE through `format'." | |||
| 281 | (copy-sequence message) | 281 | (copy-sequence message) |
| 282 | (concat " [" message "]"))) | 282 | (concat " [" message "]"))) |
| 283 | (when args (setq message (apply 'format message args))) | 283 | (when args (setq message (apply 'format message args))) |
| 284 | (let ((ol (make-overlay (point-max) (point-max) nil t t))) | 284 | (let ((ol (make-overlay (point-max) (point-max) nil t t)) |
| 285 | ;; A quit during sit-for should be (re-)read as | ||
| 286 | ;; abort-recursive-edit | ||
| 287 | (inhibit-quit t)) | ||
| 285 | (unwind-protect | 288 | (unwind-protect |
| 286 | (progn | 289 | (progn |
| 287 | (unless (zerop (length message)) | 290 | (unless (zerop (length message)) |