diff options
| author | Simon Marshall | 1999-01-06 15:23:46 +0000 |
|---|---|---|
| committer | Simon Marshall | 1999-01-06 15:23:46 +0000 |
| commit | a600effe5ff4091e7cbdf017de45b7caf3e88d75 (patch) | |
| tree | 90c32a72c107f7286ce815285094f51a214a7647 | |
| parent | e61d8515a54cc97035e37bb3887dbc9df0edb01c (diff) | |
| download | emacs-a600effe5ff4091e7cbdf017de45b7caf3e88d75.tar.gz emacs-a600effe5ff4091e7cbdf017de45b7caf3e88d75.zip | |
Doc fix.
| -rw-r--r-- | lisp/subr.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index ac2d3117623..cdbb06b4b5d 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -960,10 +960,12 @@ See also `with-temp-buffer'." | |||
| 960 | (kill-buffer ,temp-buffer)))))) | 960 | (kill-buffer ,temp-buffer)))))) |
| 961 | 961 | ||
| 962 | (defmacro with-temp-message (message &rest body) | 962 | (defmacro with-temp-message (message &rest body) |
| 963 | "Display MESSAGE temporarily while BODY is evaluated. | 963 | "Display MESSAGE temporarily if non-nil while BODY is evaluated. |
| 964 | The original message is restored to the echo area after BODY has finished. | 964 | The original message is restored to the echo area after BODY has finished. |
| 965 | The value returned is the value of the last form in BODY. | 965 | The value returned is the value of the last form in BODY. |
| 966 | MESSAGE is written to the message log buffer if `message-log-max' is non-nil." | 966 | MESSAGE is written to the message log buffer if `message-log-max' is non-nil. |
| 967 | If MESSAGE is nil, the echo area and message log buffer are unchanged. | ||
| 968 | Use a MESSAGE of \"\" to temporarily clear the echo area." | ||
| 967 | (let ((current-message (make-symbol "current-message")) | 969 | (let ((current-message (make-symbol "current-message")) |
| 968 | (temp-message (make-symbol "with-temp-message"))) | 970 | (temp-message (make-symbol "with-temp-message"))) |
| 969 | `(let ((,temp-message ,message) | 971 | `(let ((,temp-message ,message) |