summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-12-17 09:07:11 +0200
committerEli Zaretskii <eliz@gnu.org>2023-12-17 09:07:11 +0200
commitb6429b1c1c781655efc761e237a7ae0aa6a0d344 (patch)
tree195f4509678b542fc53f6e8338732c6a262a9ec5
parent75cc15934123b1ffc7d801aa245259585cb8357f (diff)
downloademacs-b6429b1c1c781655efc761e237a7ae0aa6a0d344.tar.gz
emacs-b6429b1c1c781655efc761e237a7ae0aa6a0d344.tar.bz2
emacs-b6429b1c1c781655efc761e237a7ae0aa6a0d344.zip
; Improve documentation of ispell.el's dictionary database
* lisp/textmodes/ispell.el (ispell-dictionary-base-alist) (ispell-dictionary-alist): Doc fixes. (Bug#67857)
-rw-r--r--lisp/textmodes/ispell.el13
1 files changed, 11 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 48d48b07937..6b048a8a805 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -522,7 +522,12 @@ re-start Emacs."
"[^A-Za-z\345\344\366\351\340\374\350\346\370\347\305\304\326\311\300\334\310\306\330\307]"
"[']" nil ("-C") "~list" iso-8859-1)
("hebrew" "[\340\341\342\343\344\345\346\347\350\351\353\352\354\356\355\360\357\361\362\364\363\367\366\365\370\371\372]" "[^\340\341\342\343\344\345\346\347\350\351\353\352\354\356\355\360\357\361\362\364\363\367\366\365\370\371\372]" "" nil ("-B") nil cp1255))
- "Base value for `ispell-dictionary-alist'.")
+ "Base value for `ispell-dictionary-alist'.
+
+Note that when the speller program is \"aspell\" or \"hunspell\",
+some parts of the database, notably OTHERCHARS, will be overridden
+by parsing the dictionary data files, see `ispell-aspell-find-dictionary'
+and `ispell-parse-hunspell-affix-file'.")
(defvar ispell-dictionary-alist nil
"An alist of dictionaries and their associated parameters.
@@ -577,7 +582,11 @@ when the language uses non-ASCII characters.
Note that with \"ispell\" as the speller, the CASECHARS and
OTHERCHARS slots of the alist should contain the same character
set as casechars and otherchars in the LANGUAGE.aff file \(e.g.,
-english.aff). Aspell and Hunspell don't have this limitation.")
+english.aff). Aspell and Hunspell don't have this limitation.
+Allso, when the speller program is \"aspell\" or \"hunspell\",
+some parts of the database, notably OTHERCHARS, will be determined
+by parsing the dictionary data files, see `ispell-aspell-find-dictionary'
+and `ispell-parse-hunspell-affix-file'.")
(defvar ispell-really-aspell nil
"Non-nil if we can use Aspell extensions.")