emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 9e67ef8: Improve documentation of 'ispell-hunspell-add-multi-dic'


From: Eli Zaretskii
Subject: master 9e67ef8: Improve documentation of 'ispell-hunspell-add-multi-dic'
Date: Mon, 30 Aug 2021 08:49:22 -0400 (EDT)

branch: master
commit 9e67ef88f2047a5afdfaf6d6447273724d56a07b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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)
---
 lisp/textmodes/ispell.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 6785299..632b001 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]