diff options
| author | Richard M. Stallman | 1993-12-31 06:59:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-12-31 06:59:31 +0000 |
| commit | 06811c2dd3bab6d97bef9e24c3f836c9178eebfa (patch) | |
| tree | a76f57156b8f430db7c5baa0f57c32541501d461 | |
| parent | aa648601df886d7336e064caf6d7f72b05244b93 (diff) | |
| download | emacs-06811c2dd3bab6d97bef9e24c3f836c9178eebfa.tar.gz emacs-06811c2dd3bab6d97bef9e24c3f836c9178eebfa.zip | |
(ispell-next): Remove periods from messages.
(ispell-complete-word): Improve error messages.
| -rw-r--r-- | lisp/textmodes/ispell4.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el index 6e9f315a258..d0402ec78cb 100644 --- a/lisp/textmodes/ispell4.el +++ b/lisp/textmodes/ispell4.el | |||
| @@ -345,16 +345,16 @@ Return value is t unless exit is due to typing `q'." | |||
| 345 | (if ispell-window-configuration | 345 | (if ispell-window-configuration |
| 346 | (set-window-configuration ispell-window-configuration)) | 346 | (set-window-configuration ispell-window-configuration)) |
| 347 | (cond ((null ispell-bad-words) | 347 | (cond ((null ispell-bad-words) |
| 348 | (error "Ispell has not yet been run.")) | 348 | (error "Ispell has not yet been run")) |
| 349 | ((markerp (car ispell-bad-words)) | 349 | ((markerp (car ispell-bad-words)) |
| 350 | (message (substitute-command-keys | 350 | (message (substitute-command-keys |
| 351 | "Type \\[ispell-next] to continue."))) | 351 | "Type \\[ispell-next] to continue"))) |
| 352 | ((eq (car ispell-bad-words) nil) | 352 | ((eq (car ispell-bad-words) nil) |
| 353 | (setq ispell-bad-words nil) | 353 | (setq ispell-bad-words nil) |
| 354 | (message "No more misspellings (but checker was interrupted.)")) | 354 | (message "No more misspellings (but checker was interrupted)")) |
| 355 | ((eq (car ispell-bad-words) t) | 355 | ((eq (car ispell-bad-words) t) |
| 356 | (setq ispell-bad-words nil) | 356 | (setq ispell-bad-words nil) |
| 357 | (message "Ispell done.")) | 357 | (message "Ispell done")) |
| 358 | (t | 358 | (t |
| 359 | (setq ispell-bad-words nil) | 359 | (setq ispell-bad-words nil) |
| 360 | (message "Bad ispell internal list")))) | 360 | (message "Bad ispell internal list")))) |
| @@ -778,7 +778,7 @@ See also `ispell-look-dictionary' and `ispell-gnu-look-still-broken-p'." | |||
| 778 | ;; `look' must support regexp expressions in order to perform an interior | 778 | ;; `look' must support regexp expressions in order to perform an interior |
| 779 | ;; fragment search. | 779 | ;; fragment search. |
| 780 | (if (and interior-frag (not ispell-have-new-look)) | 780 | (if (and interior-frag (not ispell-have-new-look)) |
| 781 | (error (concat "Sorry `ispell-have-new-look' is nil. " | 781 | (error (concat "Sorry, `ispell-have-new-look' is nil. " |
| 782 | "You also will need GNU Ispell's `look'."))) | 782 | "You also will need GNU Ispell's `look'."))) |
| 783 | 783 | ||
| 784 | (let* ((completion-ignore-case t) | 784 | (let* ((completion-ignore-case t) |
| @@ -827,8 +827,8 @@ See also `ispell-look-dictionary' and `ispell-gnu-look-still-broken-p'." | |||
| 827 | (if (string-equal (concat ispell-lookup-last-word " ") | 827 | (if (string-equal (concat ispell-lookup-last-word " ") |
| 828 | (buffer-substring | 828 | (buffer-substring |
| 829 | (save-excursion (forward-word -1) (point)) (point))) | 829 | (save-excursion (forward-word -1) (point)) (point))) |
| 830 | (error "Perfect match...still. Please move on.") | 830 | (error "Perfect match already") |
| 831 | (error "No word fragment at point."))) | 831 | (error "No word fragment at point"))) |
| 832 | 832 | ||
| 833 | ;; Create list of words from system dictionary starting with `string' if | 833 | ;; Create list of words from system dictionary starting with `string' if |
| 834 | ;; new string and not continuing from a previous interior fragment search. | 834 | ;; new string and not continuing from a previous interior fragment search. |