changeset 14388:b7708fc4d023

(ispell-command-loop, ispell-region): Pass proper format string to message.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Jan 1996 02:36:05 +0000
parents 9c3c642de62a
children f349b035e009
files lisp/textmodes/ispell.el
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Sat Jan 27 02:18:29 1996 +0000
+++ b/lisp/textmodes/ispell.el	Sat Jan 27 02:36:05 1996 +0000
@@ -1100,7 +1100,7 @@
 		   ;; Quit and preserve point.
 		   ((= char ?X)
 		    (ispell-pdict-save ispell-silently-savep)
-		    (message
+		    (message "%s"
 		     (substitute-command-keys
 		      (concat "Spell-checking suspended;"
 			      " use C-u \\[ispell-word] to resume")))
@@ -1855,10 +1855,8 @@
 					offset-change (+ offset-change change)
 					end (+ end change)))))
 			      (if (not ispell-quit)
-				  (message
-				   (concat "Continuing spelling check using "
-					   (or ispell-dictionary "default")
-					   " dictionary...")))
+				  (message "Continuing spelling check using %s dictionary..."
+					   (or ispell-dictionary "default")))
 			      (sit-for 0)))
 			;; finished with line!
 			(setq ispell-filter (cdr ispell-filter)))))