changeset 24002:c6bfff41f2b5

* font-lock.el (font-lock-default-fontify-buffer): When using with-temp-message, use nil rather than current-message.
author Simon Marshall <simon@gnu.org>
date Wed, 06 Jan 1999 10:08:49 +0000
parents fce0e760c4ab
children 5048f069091e
files lisp/font-lock.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Wed Jan 06 10:08:24 1999 +0000
+++ b/lisp/font-lock.el	Wed Jan 06 10:08:49 1999 +0000
@@ -1032,9 +1032,8 @@
 		     (> (buffer-size) font-lock-verbose)
 		   font-lock-verbose)))
     (with-temp-message
-	(if verbose
-	    (format "Fontifying %s..." (buffer-name))
-	  (current-message))
+	(when verbose
+	  (format "Fontifying %s..." (buffer-name)))
       ;; Make sure we have the right `font-lock-keywords' etc.
       (unless font-lock-mode
 	(font-lock-set-defaults))