the temp message, even by clearing the echo area.
+2001-12-16 Richard M. Stallman <rms@gnu.org>
+
+ * subr.el (with-temp-message): At the end, always discard
+ the temp message, even by clearing the echo area.
+
+ * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
+
2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
* international/fontset.el: Build the list L at compile time.
(setq ,current-message (current-message))
(message "%s" ,temp-message))
,@body)
- (and ,temp-message ,current-message
- (message "%s" ,current-message))))))
+ (and ,temp-message
+ (if ,current-message
+ (message "%s" ,current-message)
+ (message nil)))))))
(defmacro with-temp-buffer (&rest body)
"Create a temporary buffer, and evaluate BODY there like `progn'.