diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-08-30 15:48:35 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-08-30 15:48:35 +0300 |
commit | 9e67ef88f2047a5afdfaf6d6447273724d56a07b (patch) | |
tree | 84308dd44156e9f63281a7fd0c3c2e3fda3a17d6 /lisp/textmodes/ispell.el | |
parent | b654420b1b9bd6f1da489278a7e18de7d1bf71dd (diff) | |
download | emacs-9e67ef88f2047a5afdfaf6d6447273724d56a07b.tar.gz |
Improve documentation of 'ispell-hunspell-add-multi-dic'
* lisp/textmodes/ispell.el (ispell-hunspell-add-multi-dic):
Explain in the doc string how to call from Lisp. (Bug#50241)
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r-- | lisp/textmodes/ispell.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 67852998f42..632b00111ab 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1039,7 +1039,11 @@ did." Invoke this command before you want to start Hunspell for the first time with a particular combination of dictionaries. The first dictionary -in the list must have an affix file where Hunspell affix files are kept." +in the list must have an affix file where Hunspell affix files are kept. + +If you invoke this from Lisp, make sure to precede it with +a call to `ispell-set-spellchecker-params', as `ispell-change-dictionary' +calls it only when invoked interactively." (interactive "sMulti-dictionary combination: ") ;; Make sure the first dictionary in the list is known to us. (let ((first-dict (car (split-string dict "," t)))) |