diff options
| author | Karl Heuer | 1996-01-25 01:15:58 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-25 01:15:58 +0000 |
| commit | 32bf4c34c7fa40055034d4f3e60c2883a99fc4a3 (patch) | |
| tree | d4c71507e1a21dc81bfb7e925c13e4e23635d634 | |
| parent | f0685fda1e165ca90461757e462dec4f6b48ea38 (diff) | |
| download | emacs-32bf4c34c7fa40055034d4f3e60c2883a99fc4a3.tar.gz emacs-32bf4c34c7fa40055034d4f3e60c2883a99fc4a3.zip | |
(start-ispell, ispell-next): Pass proper format string to message.
(ispell-point): Delete format call inside message.
| -rw-r--r-- | lisp/textmodes/ispell4.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el index de1b8c72dd4..1bca6748052 100644 --- a/lisp/textmodes/ispell4.el +++ b/lisp/textmodes/ispell4.el | |||
| @@ -126,7 +126,7 @@ that have not already been dumped will be lost." | |||
| 126 | (let ((greeting (read (current-buffer)))) | 126 | (let ((greeting (read (current-buffer)))) |
| 127 | (if (not (= (car greeting) 1)) | 127 | (if (not (= (car greeting) 1)) |
| 128 | (error "Bad ispell version: wanted 1, got %d" (car greeting))) | 128 | (error "Bad ispell version: wanted 1, got %d" (car greeting))) |
| 129 | (message (car (cdr greeting)))) | 129 | (message "%s" (car (cdr greeting)))) |
| 130 | (delete-region (point-min) last-char)))) | 130 | (delete-region (point-min) last-char)))) |
| 131 | 131 | ||
| 132 | ;; Make sure ispell is ready for a command. | 132 | ;; Make sure ispell is ready for a command. |
| @@ -349,7 +349,8 @@ Return value is t unless exit is due to typing `q'." | |||
| 349 | (cond ((null ispell-bad-words) | 349 | (cond ((null ispell-bad-words) |
| 350 | (error "Ispell has not yet been run")) | 350 | (error "Ispell has not yet been run")) |
| 351 | ((markerp (car ispell-bad-words)) | 351 | ((markerp (car ispell-bad-words)) |
| 352 | (message (substitute-command-keys | 352 | (message "%s" |
| 353 | (substitute-command-keys | ||
| 353 | "Type \\[ispell-next] to continue"))) | 354 | "Type \\[ispell-next] to continue"))) |
| 354 | ((eq (car ispell-bad-words) nil) | 355 | ((eq (car ispell-bad-words) nil) |
| 355 | (setq ispell-bad-words nil) | 356 | (setq ispell-bad-words nil) |
| @@ -455,7 +456,7 @@ With a prefix argument, resume handling of the previous Ispell command." | |||
| 455 | ;;; This just causes confusion. -- rms. | 456 | ;;; This just causes confusion. -- rms. |
| 456 | ;;; (goto-char start) | 457 | ;;; (goto-char start) |
| 457 | ;;; (sit-for 0) | 458 | ;;; (sit-for 0) |
| 458 | (message (format "Ispell checking %s" word)) | 459 | (message "Ispell checking %s" word) |
| 459 | (ispell-cmd word) | 460 | (ispell-cmd word) |
| 460 | (let ((message (ispell-next-message))) | 461 | (let ((message (ispell-next-message))) |
| 461 | (cond ((eq message t) | 462 | (cond ((eq message t) |