summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-02-12 14:05:44 +0200
committerEli Zaretskii <eliz@gnu.org>2023-02-12 14:05:44 +0200
commit86ca7df6a345f743f381c67bb0d14879b2858f13 (patch)
tree8a5b0a55e73e985b0dccfc6c53d02334f6b89e04 /lisp/textmodes
parent7287b7b53a17f9b2d1b474466106806a9d57af47 (diff)
downloademacs-86ca7df6a345f743f381c67bb0d14879b2858f13.tar.gz
emacs-86ca7df6a345f743f381c67bb0d14879b2858f13.tar.bz2
emacs-86ca7df6a345f743f381c67bb0d14879b2858f13.zip
; Mention Hunspell private-dictionary misfeature in doc strings
* lisp/textmodes/ispell.el (ispell-personal-dictionary) (ispell-local-pdict): Mention Hunspell misfeatures in doc strings. (Bug#61190)
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 3da6effbcfe..bb2bcfd8052 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -318,7 +318,9 @@ window system by evaluating the following on startup to set this variable:
;;;###autoload
(defcustom ispell-personal-dictionary nil
"File name of your personal spelling dictionary, or nil.
-If nil, the default personal dictionary for your spelling checker is used."
+If nil, the default personal dictionary for your spelling checker is used.
+Due to a misfeature of Hunspell, if the value is an absolute file name, the
+file by that name must already exist for Hunspell to be able to use it."
:type '(choice file
(const :tag "default" nil)))
@@ -1730,7 +1732,10 @@ If you specify a personal dictionary for the current buffer which is
different from the current personal dictionary, the effect is similar
to calling \\[ispell-change-dictionary]. This variable is automatically
set when defined in the file with either `ispell-pdict-keyword' or the
-local variable syntax.")
+local variable syntax.
+
+Due to a misfeature of Hunspell, if the value is an absolute file name, the
+file by that name must already exist for Hunspell to be able to use it.")
;;;###autoload(put 'ispell-local-pdict 'safe-local-variable 'stringp)