Mercurial > emacs
comparison lisp/textmodes/=ispell4.el @ 5293:346d921eaf3b
Don't imply private dictionary is always ispell.words.
Don't repeat at load time any bindings that are autoloaded.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 23 Dec 1993 04:35:44 +0000 |
parents | 581f2c0b75f2 |
children | ec02e2f72eae |
comparison
equal
deleted
inserted
replaced
5292:4b1f2e4dcf34 | 5293:346d921eaf3b |
---|---|
39 | 39 |
40 (defvar ispell-command "ispell" | 40 (defvar ispell-command "ispell" |
41 "Command for running Ispell.") | 41 "Command for running Ispell.") |
42 (defvar ispell-command-options nil | 42 (defvar ispell-command-options nil |
43 "*String (or list of strings) to pass to Ispell as command arguments. | 43 "*String (or list of strings) to pass to Ispell as command arguments. |
44 You can use this to specify the name of your private dictionary. | 44 You can specify your private dictionary via the -p <filename> option. |
45 The -S option is always passed to Ispell as the last parameter, | 45 The -S option is always passed to Ispell as the last parameter, |
46 and need not be mentioned here.") | 46 and need not be mentioned here.") |
47 | 47 |
48 (defvar ispell-look-command "look" | 48 (defvar ispell-look-command "look" |
49 "*Command for running look.") | 49 "*Command for running look.") |
161 ;; | 161 ;; |
162 ;; :accept WORD don't complain about word any more this session | 162 ;; :accept WORD don't complain about word any more this session |
163 ;; | 163 ;; |
164 ;; :dump write out the current private dictionary, if necessary. | 164 ;; :dump write out the current private dictionary, if necessary. |
165 ;; | 165 ;; |
166 ;; :reload reread `~/ispell.words' | 166 ;; :reload reread private dictionary (default: `~/ispell.words') |
167 ;; | 167 ;; |
168 ;; :tex | 168 ;; :tex |
169 ;; :troff | 169 ;; :troff |
170 ;; :generic set type of parser to use when scanning whole files | 170 ;; :generic set type of parser to use when scanning whole files |
171 | 171 |
251 | 251 |
252 DIGIT Near miss selector. If the misspelled word is close to | 252 DIGIT Near miss selector. If the misspelled word is close to |
253 some words in the dictionary, they are offered as near misses. | 253 some words in the dictionary, they are offered as near misses. |
254 r Replace. Replace the word with a string you type. Each word | 254 r Replace. Replace the word with a string you type. Each word |
255 of your new string is also checked. | 255 of your new string is also checked. |
256 i Insert. Insert this word in your private dictionary (kept in | 256 i Insert. Insert this word in your private dictionary (by default, |
257 `$HOME/ispell.words'). | 257 `$HOME/ispell.words'). |
258 a Accept. Accept this word for the rest of this editing session, | 258 a Accept. Accept this word for the rest of this editing session, |
259 but don't put it in your private dictionary. | 259 but don't put it in your private dictionary. |
260 l Lookup. Look for a word in the dictionary by fast binary | 260 l Lookup. Look for a word in the dictionary by fast binary |
261 search, or search for a regular expression in the dictionary | 261 search, or search for a regular expression in the dictionary |
376 (ispell-startup-error | 376 (ispell-startup-error |
377 (cond ((y-or-n-p "Problem starting ispell, use old-style spell instead? ") | 377 (cond ((y-or-n-p "Problem starting ispell, use old-style spell instead? ") |
378 (load-library "spell") | 378 (load-library "spell") |
379 (define-key esc-map "$" 'spell-word) | 379 (define-key esc-map "$" 'spell-word) |
380 (spell-word))))))) | 380 (spell-word))))))) |
381 ;;;###autoload | 381 |
382 (define-key esc-map "$" 'ispell-word) | 382 ;;;###autoload (define-key esc-map "$" 'ispell-word) |
383 | 383 |
384 ;;;###autoload | 384 ;;;###autoload |
385 (defun ispell-region (start &optional end) | 385 (defun ispell-region (start &optional end) |
386 "Check the spelling for all of the words in the region." | 386 "Check the spelling for all of the words in the region." |
387 (interactive "r") | 387 (interactive "r") |