diff options
| author | Eli Zaretskii | 2012-03-17 21:46:52 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-03-17 21:46:52 +0200 |
| commit | d9a8eb664e9e3405f61e81aa17ead11b160e7769 (patch) | |
| tree | 2bd0f365075f355122cda8fef86dbad83d88bbce | |
| parent | f02ff80d330e6dc19682bdf162ccdcee66e59216 (diff) | |
| download | emacs-d9a8eb664e9e3405f61e81aa17ead11b160e7769.tar.gz emacs-d9a8eb664e9e3405f61e81aa17ead11b160e7769.zip | |
Fix doc strings in ispell.el/.
lisp/textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
(ispell-choices-win-default-height, ispell-silently-savep)
(ispell-dictionary-alist, ispell-encoding8-command)
(ispell-check-version, ispell-aspell-find-dictionary)
(ispell-valid-dictionary-list, ispell-words-keyword)
(ispell-get-word, ispell-internal-change-dictionary)
(ispell-region, ispell-skip-region-list)
(ispell-begin-skip-region-regexp, ispell-ignore-fcc)
(ispell-process-line, ispell-minor-mode, ispell-minor-check)
(ispell-message-text-end, ispell-message)
(ispell-buffer-local-parsing): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 87 |
2 files changed, 60 insertions, 41 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 094c5697379..9bdfd5c1b73 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2012-03-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win) | ||
| 4 | (ispell-choices-win-default-height, ispell-silently-savep) | ||
| 5 | (ispell-dictionary-alist, ispell-encoding8-command) | ||
| 6 | (ispell-check-version, ispell-aspell-find-dictionary) | ||
| 7 | (ispell-valid-dictionary-list, ispell-words-keyword) | ||
| 8 | (ispell-get-word, ispell-internal-change-dictionary) | ||
| 9 | (ispell-region, ispell-skip-region-list) | ||
| 10 | (ispell-begin-skip-region-regexp, ispell-ignore-fcc) | ||
| 11 | (ispell-process-line, ispell-minor-mode, ispell-minor-check) | ||
| 12 | (ispell-message-text-end, ispell-message) | ||
| 13 | (ispell-buffer-local-parsing): Doc fix. | ||
| 14 | |||
| 1 | 2012-03-13 Jambunathan K <kjambunathan@gmail.com> | 15 | 2012-03-13 Jambunathan K <kjambunathan@gmail.com> |
| 2 | 16 | ||
| 3 | * htmlfontify.el: Add support for code block fontification for ODT | 17 | * htmlfontify.el: Add support for code block fontification for ODT |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index bee903f0284..bbd433ec9fc 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -324,9 +324,9 @@ Uses `query-replace' (\\[query-replace]) for corrections." | |||
| 324 | Skips any text between strings matching regular expressions | 324 | Skips any text between strings matching regular expressions |
| 325 | `ispell-tib-ref-beginning' and `ispell-tib-ref-end'. | 325 | `ispell-tib-ref-beginning' and `ispell-tib-ref-end'. |
| 326 | 326 | ||
| 327 | TeX users beware: Any field starting with [. will skip until a .] -- even | 327 | TeX users beware: Any text between [. and .] will be skipped -- even if |
| 328 | your whole buffer -- unless you set `ispell-skip-tib' to nil. That includes | 328 | that's your whole buffer -- unless you set `ispell-skip-tib' to nil. |
| 329 | a [.5mm] type of number...." | 329 | That includes the [.5mm] type of number..." |
| 330 | :type 'boolean | 330 | :type 'boolean |
| 331 | :group 'ispell) | 331 | :group 'ispell) |
| 332 | 332 | ||
| @@ -337,13 +337,13 @@ a [.5mm] type of number...." | |||
| 337 | "Regexp matching the end of a Tib reference.") | 337 | "Regexp matching the end of a Tib reference.") |
| 338 | 338 | ||
| 339 | (defcustom ispell-keep-choices-win t | 339 | (defcustom ispell-keep-choices-win t |
| 340 | "*When non-nil, the `*Choices*' window remains for spelling session. | 340 | "*If non-nil, keep the `*Choices*' window for the entire spelling session. |
| 341 | This minimizes redisplay thrashing." | 341 | This minimizes redisplay thrashing." |
| 342 | :type 'boolean | 342 | :type 'boolean |
| 343 | :group 'ispell) | 343 | :group 'ispell) |
| 344 | 344 | ||
| 345 | (defcustom ispell-choices-win-default-height 2 | 345 | (defcustom ispell-choices-win-default-height 2 |
| 346 | "*The default size of the `*Choices*' window, including mode line. | 346 | "*The default size of the `*Choices*' window, including the mode line. |
| 347 | Must be greater than 1." | 347 | Must be greater than 1." |
| 348 | :type 'integer | 348 | :type 'integer |
| 349 | :group 'ispell) | 349 | :group 'ispell) |
| @@ -493,7 +493,7 @@ default dictionary and LANG the two letter language code." | |||
| 493 | :group 'ispell) | 493 | :group 'ispell) |
| 494 | 494 | ||
| 495 | (defcustom ispell-silently-savep nil | 495 | (defcustom ispell-silently-savep nil |
| 496 | "*When non-nil, save the personal dictionary without confirmation." | 496 | "*When non-nil, save personal dictionary without asking for confirmation." |
| 497 | :type 'boolean | 497 | :type 'boolean |
| 498 | :group 'ispell) | 498 | :group 'ispell) |
| 499 | 499 | ||
| @@ -714,7 +714,7 @@ Hint: regexp syntax requires the hyphen to be declared first here. | |||
| 714 | 714 | ||
| 715 | CASECHARS, NOT-CASECHARS, and OTHERCHARS must be unibyte strings | 715 | CASECHARS, NOT-CASECHARS, and OTHERCHARS must be unibyte strings |
| 716 | containing bytes of CHARACTER-SET. In addition, if they contain | 716 | containing bytes of CHARACTER-SET. In addition, if they contain |
| 717 | a non-ASCII byte, the regular expression must be a single | 717 | non-ASCII bytes, the regular expression must be a single |
| 718 | `character set' construct that doesn't specify a character range | 718 | `character set' construct that doesn't specify a character range |
| 719 | for non-ASCII bytes. | 719 | for non-ASCII bytes. |
| 720 | 720 | ||
| @@ -734,27 +734,31 @@ but the dictionary can control the extended character mode. | |||
| 734 | Both defaults can be overruled in a buffer-local fashion. See | 734 | Both defaults can be overruled in a buffer-local fashion. See |
| 735 | `ispell-parsing-keyword' for details on this. | 735 | `ispell-parsing-keyword' for details on this. |
| 736 | 736 | ||
| 737 | CHARACTER-SET used for languages with multibyte characters. | 737 | CHARACTER-SET used to encode text sent to the ispell subprocess |
| 738 | when the language uses non-ASCII characters. | ||
| 738 | 739 | ||
| 739 | Note that the CASECHARS and OTHERCHARS slots of the alist should | 740 | Note that with \"ispell\" as the speller, the CASECHARS and |
| 740 | contain the same character set as casechars and otherchars in the | 741 | OTHERCHARS slots of the alist should contain the same character |
| 741 | LANGUAGE.aff file \(e.g., english.aff\).") | 742 | set as casechars and otherchars in the LANGUAGE.aff file \(e.g., |
| 743 | english.aff\). apsell and hunspell don't have this limitation.") | ||
| 742 | 744 | ||
| 743 | (defvar ispell-really-aspell nil) ; Non-nil if we can use aspell extensions. | 745 | (defvar ispell-really-aspell nil) ; Non-nil if we can use aspell extensions. |
| 744 | (defvar ispell-really-hunspell nil) ; Non-nil if we can use hunspell extensions. | 746 | (defvar ispell-really-hunspell nil) ; Non-nil if we can use hunspell extensions. |
| 745 | (defvar ispell-encoding8-command nil | 747 | (defvar ispell-encoding8-command nil |
| 746 | "Command line option prefix to select UTF-8 if supported, nil otherwise. | 748 | "Command line option prefix to select encoding if supported, nil otherwise. |
| 747 | If UTF-8 if supported by spellchecker and is selectable from the command line | 749 | If setting the encoding is supported by spellchecker and is selectable from |
| 748 | this variable will contain \"--encoding=\" for aspell and \"-i \" for hunspell, | 750 | the command line, this variable will contain \"--encoding=\" for aspell |
| 749 | so UTF-8 or other mime charsets can be selected. That will be set for hunspell | 751 | and \"-i \" for hunspell, so the appropriate mime charset can be selected. |
| 750 | >=1.1.6 or aspell >= 0.60 in `ispell-check-version'. | 752 | That will be set in `ispell-check-version' for hunspell >= 1.1.6 and |
| 751 | 753 | aspell >= 0.60. | |
| 752 | For aspell non-nil means to try to automatically find aspell dictionaries. | 754 | |
| 753 | Earlier aspell versions do not consistently support UTF-8. Handling | 755 | For aspell, non-nil also means to try to automatically find its dictionaries. |
| 756 | |||
| 757 | Earlier aspell versions do not consistently support charset encoding. Handling | ||
| 754 | this would require some extra guessing in `ispell-aspell-find-dictionary'.") | 758 | this would require some extra guessing in `ispell-aspell-find-dictionary'.") |
| 755 | 759 | ||
| 756 | (defvar ispell-aspell-supports-utf8 nil | 760 | (defvar ispell-aspell-supports-utf8 nil |
| 757 | "Non nil if aspell has consistent command line UTF-8 support. Obsolete. | 761 | "Non-nil if aspell has consistent command line UTF-8 support. Obsolete. |
| 758 | ispell.el and flyspell.el will use for this purpose the more generic | 762 | ispell.el and flyspell.el will use for this purpose the more generic |
| 759 | variable `ispell-encoding8-command' for both aspell and hunspell. Is left | 763 | variable `ispell-encoding8-command' for both aspell and hunspell. Is left |
| 760 | here just for backwards compatibility.") | 764 | here just for backwards compatibility.") |
| @@ -780,7 +784,7 @@ here just for backwards compatibility.") | |||
| 780 | 784 | ||
| 781 | 785 | ||
| 782 | (defun ispell-check-version (&optional interactivep) | 786 | (defun ispell-check-version (&optional interactivep) |
| 783 | "Ensure that `ispell-program-name' is valid and the correct version. | 787 | "Ensure that `ispell-program-name' is valid and has the correct version. |
| 784 | Returns version number if called interactively. | 788 | Returns version number if called interactively. |
| 785 | Otherwise returns the library directory name, if that is defined." | 789 | Otherwise returns the library directory name, if that is defined." |
| 786 | ;; This is a little wasteful as we actually launch ispell twice: once | 790 | ;; This is a little wasteful as we actually launch ispell twice: once |
| @@ -983,8 +987,8 @@ Assumes that value contains no whitespace." | |||
| 983 | 987 | ||
| 984 | (defun ispell-aspell-find-dictionary (dict-name) | 988 | (defun ispell-aspell-find-dictionary (dict-name) |
| 985 | "For aspell dictionary DICT-NAME, return a list of parameters if an | 989 | "For aspell dictionary DICT-NAME, return a list of parameters if an |
| 986 | associated data file is found or nil otherwise. List format is | 990 | associated data file is found or nil otherwise. List format is that |
| 987 | that of `ispell-dictionary-base-alist' elements." | 991 | of `ispell-dictionary-base-alist' elements." |
| 988 | ;; Make sure `ispell-aspell-data-dir' is defined | 992 | ;; Make sure `ispell-aspell-data-dir' is defined |
| 989 | (or ispell-aspell-data-dir | 993 | (or ispell-aspell-data-dir |
| 990 | (setq ispell-aspell-data-dir | 994 | (setq ispell-aspell-data-dir |
| @@ -1117,7 +1121,7 @@ aspell is used along with Emacs).") | |||
| 1117 | 1121 | ||
| 1118 | (defun ispell-valid-dictionary-list () | 1122 | (defun ispell-valid-dictionary-list () |
| 1119 | "Return a list of valid dictionaries. | 1123 | "Return a list of valid dictionaries. |
| 1120 | The variable `ispell-library-directory' defines the library location." | 1124 | The variable `ispell-library-directory' defines their location." |
| 1121 | ;; Initialize variables and dictionaries alists for desired spellchecker. | 1125 | ;; Initialize variables and dictionaries alists for desired spellchecker. |
| 1122 | ;; Make sure ispell.el is loaded to avoid some autoload loops in XEmacs | 1126 | ;; Make sure ispell.el is loaded to avoid some autoload loops in XEmacs |
| 1123 | ;; (and may be others) | 1127 | ;; (and may be others) |
| @@ -1382,7 +1386,7 @@ Set to the MIME boundary locations when checking messages.") | |||
| 1382 | (defconst ispell-words-keyword "LocalWords: " | 1386 | (defconst ispell-words-keyword "LocalWords: " |
| 1383 | "The keyword for local oddly-spelled words to accept. | 1387 | "The keyword for local oddly-spelled words to accept. |
| 1384 | The keyword will be followed by any number of local word spellings. | 1388 | The keyword will be followed by any number of local word spellings. |
| 1385 | There can be multiple of these keywords in the file.") | 1389 | There can be multiple instances of this keyword in the file.") |
| 1386 | 1390 | ||
| 1387 | (defconst ispell-dictionary-keyword "Local IspellDict: " | 1391 | (defconst ispell-dictionary-keyword "Local IspellDict: " |
| 1388 | "The keyword for a local dictionary to use. | 1392 | "The keyword for a local dictionary to use. |
| @@ -1787,7 +1791,8 @@ If optional argument FOLLOWING is non-nil or if `ispell-following-word' | |||
| 1787 | is non-nil when called interactively, then the following word | 1791 | is non-nil when called interactively, then the following word |
| 1788 | \(rather than preceding\) is checked when the cursor is not over a word. | 1792 | \(rather than preceding\) is checked when the cursor is not over a word. |
| 1789 | Optional second argument contains otherchars that can be included in word | 1793 | Optional second argument contains otherchars that can be included in word |
| 1790 | many times. | 1794 | many times (see the doc string of `ispell-dictionary-alist' for details |
| 1795 | about otherchars). | ||
| 1791 | 1796 | ||
| 1792 | Word syntax is controlled by the definition of the chosen dictionary, | 1797 | Word syntax is controlled by the definition of the chosen dictionary, |
| 1793 | which is in `ispell-local-dictionary-alist' or `ispell-dictionary-alist'." | 1798 | which is in `ispell-local-dictionary-alist' or `ispell-dictionary-alist'." |
| @@ -2818,8 +2823,8 @@ By just answering RET you can find out what the current dictionary is." | |||
| 2818 | 2823 | ||
| 2819 | (defun ispell-internal-change-dictionary () | 2824 | (defun ispell-internal-change-dictionary () |
| 2820 | "Update the dictionary and the personal dictionary used by Ispell. | 2825 | "Update the dictionary and the personal dictionary used by Ispell. |
| 2821 | This may kill the Ispell process; if so, | 2826 | This may kill the Ispell process; if so, a new one will be started |
| 2822 | a new one will be started when needed." | 2827 | when needed." |
| 2823 | (let ((dict (or ispell-local-dictionary ispell-dictionary)) | 2828 | (let ((dict (or ispell-local-dictionary ispell-dictionary)) |
| 2824 | (pdict (or ispell-local-pdict ispell-personal-dictionary))) | 2829 | (pdict (or ispell-local-pdict ispell-personal-dictionary))) |
| 2825 | (unless (and (equal ispell-current-dictionary dict) | 2830 | (unless (and (equal ispell-current-dictionary dict) |
| @@ -2837,8 +2842,8 @@ a new one will be started when needed." | |||
| 2837 | ;;;###autoload | 2842 | ;;;###autoload |
| 2838 | (defun ispell-region (reg-start reg-end &optional recheckp shift) | 2843 | (defun ispell-region (reg-start reg-end &optional recheckp shift) |
| 2839 | "Interactively check a region for spelling errors. | 2844 | "Interactively check a region for spelling errors. |
| 2840 | Return nil if spell session is quit, | 2845 | Return nil if spell session was terminated, otherwise returns shift offset |
| 2841 | otherwise returns shift offset amount for last line processed." | 2846 | amount for last line processed." |
| 2842 | (interactive "r") ; Don't flag errors on read-only bufs. | 2847 | (interactive "r") ; Don't flag errors on read-only bufs. |
| 2843 | (ispell-set-spellchecker-params) ; Initialize variables and dicts alists | 2848 | (ispell-set-spellchecker-params) ; Initialize variables and dicts alists |
| 2844 | (if (not recheckp) | 2849 | (if (not recheckp) |
| @@ -2957,7 +2962,7 @@ Return nil if spell session is quit, | |||
| 2957 | (defun ispell-begin-skip-region-regexp () | 2962 | (defun ispell-begin-skip-region-regexp () |
| 2958 | "Return a regexp of the search keys for region skipping. | 2963 | "Return a regexp of the search keys for region skipping. |
| 2959 | Includes `ispell-skip-region-alist' plus tex, tib, html, and comment keys. | 2964 | Includes `ispell-skip-region-alist' plus tex, tib, html, and comment keys. |
| 2960 | Must call after `ispell-buffer-local-parsing' due to dependence on mode." | 2965 | Must be called after `ispell-buffer-local-parsing' due to dependence on mode." |
| 2961 | (mapconcat | 2966 | (mapconcat |
| 2962 | 'identity | 2967 | 'identity |
| 2963 | (delq nil | 2968 | (delq nil |
| @@ -3017,7 +3022,7 @@ Includes regions defined by `ispell-skip-region-alist', tex mode, | |||
| 3017 | `ispell-html-skip-alists', and `ispell-checking-message'. | 3022 | `ispell-html-skip-alists', and `ispell-checking-message'. |
| 3018 | Manual checking must include comments and tib references. | 3023 | Manual checking must include comments and tib references. |
| 3019 | The list is of the form described by variable `ispell-skip-region-alist'. | 3024 | The list is of the form described by variable `ispell-skip-region-alist'. |
| 3020 | Must call after `ispell-buffer-local-parsing' due to dependence on mode." | 3025 | Must be called after `ispell-buffer-local-parsing' due to dependence on mode." |
| 3021 | (let ((skip-alist ispell-skip-region-alist)) | 3026 | (let ((skip-alist ispell-skip-region-alist)) |
| 3022 | ;; only additional explicit region definition is tex. | 3027 | ;; only additional explicit region definition is tex. |
| 3023 | (if (eq ispell-parser 'tex) | 3028 | (if (eq ispell-parser 'tex) |
| @@ -3047,7 +3052,7 @@ Must call after `ispell-buffer-local-parsing' due to dependence on mode." | |||
| 3047 | 3052 | ||
| 3048 | (defun ispell-ignore-fcc (start end) | 3053 | (defun ispell-ignore-fcc (start end) |
| 3049 | "Delete the Fcc: message header when large attachments are included. | 3054 | "Delete the Fcc: message header when large attachments are included. |
| 3050 | Return value `nil' if file with large attachments are saved. | 3055 | Return value `nil' if file with large attachments is saved. |
| 3051 | This can be used to avoid multiple questions for multiple large attachments. | 3056 | This can be used to avoid multiple questions for multiple large attachments. |
| 3052 | Returns point to starting location afterwards." | 3057 | Returns point to starting location afterwards." |
| 3053 | (let ((result t)) | 3058 | (let ((result t)) |
| @@ -3154,7 +3159,7 @@ Returns a string with the line data." | |||
| 3154 | coding))))) | 3159 | coding))))) |
| 3155 | 3160 | ||
| 3156 | (defun ispell-process-line (string shift) | 3161 | (defun ispell-process-line (string shift) |
| 3157 | "Send STRING, a line of text, to ispell and processes the result. | 3162 | "Send STRING, a line of text, to ispell and process the result. |
| 3158 | This will modify the buffer for spelling errors. | 3163 | This will modify the buffer for spelling errors. |
| 3159 | Requires variables ISPELL-START and ISPELL-END to be defined in its | 3164 | Requires variables ISPELL-START and ISPELL-END to be defined in its |
| 3160 | dynamic scope. | 3165 | dynamic scope. |
| @@ -3469,7 +3474,7 @@ With a prefix argument ARG, enable Ispell minor mode if ARG is | |||
| 3469 | positive, and disable it otherwise. If called from Lisp, enable | 3474 | positive, and disable it otherwise. If called from Lisp, enable |
| 3470 | the mode if ARG is omitted or nil. | 3475 | the mode if ARG is omitted or nil. |
| 3471 | 3476 | ||
| 3472 | Ispell minor mode is a buffer-local mior mode. When enabled, | 3477 | Ispell minor mode is a buffer-local minor mode. When enabled, |
| 3473 | typing SPC or RET warns you if the previous word is incorrectly | 3478 | typing SPC or RET warns you if the previous word is incorrectly |
| 3474 | spelled. | 3479 | spelled. |
| 3475 | 3480 | ||
| @@ -3482,7 +3487,7 @@ RET, use `flyspell-mode'." | |||
| 3482 | nil " Spell" ispell-minor-keymap) | 3487 | nil " Spell" ispell-minor-keymap) |
| 3483 | 3488 | ||
| 3484 | (defun ispell-minor-check () | 3489 | (defun ispell-minor-check () |
| 3485 | "Check previous word then continue with the normal binding of this key. | 3490 | "Check previous word, then continue with the normal binding of this key. |
| 3486 | Don't check previous word when character before point is a space or newline. | 3491 | Don't check previous word when character before point is a space or newline. |
| 3487 | Don't read buffer-local settings or word lists." | 3492 | Don't read buffer-local settings or word lists." |
| 3488 | (interactive "*") | 3493 | (interactive "*") |
| @@ -3520,8 +3525,8 @@ Don't read buffer-local settings or word lists." | |||
| 3520 | ;; Matches commonly used "cut" boundaries | 3525 | ;; Matches commonly used "cut" boundaries |
| 3521 | "^\\(- \\)?[-=_]+\\s ?\\(cut here\\|Environment Follows\\)") | 3526 | "^\\(- \\)?[-=_]+\\s ?\\(cut here\\|Environment Follows\\)") |
| 3522 | "\\|") | 3527 | "\\|") |
| 3523 | "*End of text which will be checked in `ispell-message'. | 3528 | "*Text beyond which `ispell-message' will not spell-check. |
| 3524 | If it is a string, limit at first occurrence of that regular expression. | 3529 | If it is a string, limit is the first occurrence of that regular expression. |
| 3525 | Otherwise, it must be a function which is called to get the limit.") | 3530 | Otherwise, it must be a function which is called to get the limit.") |
| 3526 | (put 'ispell-message-text-end 'risky-local-variable t) | 3531 | (put 'ispell-message-text-end 'risky-local-variable t) |
| 3527 | 3532 | ||
| @@ -3626,7 +3631,7 @@ Don't check included messages. | |||
| 3626 | 3631 | ||
| 3627 | To abort spell checking of a message region and send the message anyway, | 3632 | To abort spell checking of a message region and send the message anyway, |
| 3628 | use the `x' command. (Any subsequent regions will be checked.) | 3633 | use the `x' command. (Any subsequent regions will be checked.) |
| 3629 | The `X' command aborts the message send so that you can edit the buffer. | 3634 | The `X' command aborts sending the message so that you can edit the buffer. |
| 3630 | 3635 | ||
| 3631 | To spell-check whenever a message is sent, include the appropriate lines | 3636 | To spell-check whenever a message is sent, include the appropriate lines |
| 3632 | in your .emacs file: | 3637 | in your .emacs file: |
| @@ -3789,7 +3794,7 @@ You can bind this to the key C-c i in GNUS or mail by adding to | |||
| 3789 | (defun ispell-buffer-local-parsing () | 3794 | (defun ispell-buffer-local-parsing () |
| 3790 | "Place Ispell into parsing mode for this buffer. | 3795 | "Place Ispell into parsing mode for this buffer. |
| 3791 | Overrides the default parsing mode. | 3796 | Overrides the default parsing mode. |
| 3792 | Includes Latex/Nroff modes and extended character mode." | 3797 | Includes LaTeX/Nroff modes and extended character mode." |
| 3793 | ;; (ispell-init-process) must already be called. | 3798 | ;; (ispell-init-process) must already be called. |
| 3794 | (ispell-send-string "!\n") ; Put process in terse mode. | 3799 | (ispell-send-string "!\n") ; Put process in terse mode. |
| 3795 | ;; We assume all major modes with "tex-mode" in them should use latex parsing | 3800 | ;; We assume all major modes with "tex-mode" in them should use latex parsing |
| @@ -3839,7 +3844,7 @@ Includes Latex/Nroff modes and extended character mode." | |||
| 3839 | 3844 | ||
| 3840 | (defun ispell-buffer-local-dict (&optional no-reload) | 3845 | (defun ispell-buffer-local-dict (&optional no-reload) |
| 3841 | "Initializes local dictionary and local personal dictionary. | 3846 | "Initializes local dictionary and local personal dictionary. |
| 3842 | If optional NO-RELOAD is non-nil, do not make any dictionary reloading. | 3847 | If optional NO-RELOAD is non-nil, do not reload any dictionary. |
| 3843 | When a dictionary is defined in the buffer (see variable | 3848 | When a dictionary is defined in the buffer (see variable |
| 3844 | `ispell-dictionary-keyword'), it will override the local setting | 3849 | `ispell-dictionary-keyword'), it will override the local setting |
| 3845 | from \\[ispell-change-dictionary]. | 3850 | from \\[ispell-change-dictionary]. |