# HG changeset patch # User Karl Heuer # Date 919807743 0 # Node ID 92817fedff02c5e8293c12722c84bbefd147c854 # Parent e075b0cbd57a5834d4fc231a3de9c925779a35db (with-temp-message): Use %s so % in old msg won't fool us. diff -r e075b0cbd57a -r 92817fedff02 lisp/subr.el --- a/lisp/subr.el Mon Feb 22 20:56:34 1999 +0000 +++ b/lisp/subr.el Tue Feb 23 22:09:03 1999 +0000 @@ -976,8 +976,8 @@ (setq ,current-message (current-message)) (message ,temp-message)) ,@body) - (when ,temp-message - (message ,current-message)))))) + (and ,temp-message ,current-message + (message "%s" ,current-message)))))) (defmacro with-temp-buffer (&rest body) "Create a temporary buffer, and evaluate BODY there like `progn'.