]> git.eshelyaron.com Git - emacs.git/commitdiff
; Mention Hunspell private-dictionary misfeature in doc strings
authorEli Zaretskii <eliz@gnu.org>
Sun, 12 Feb 2023 12:05:44 +0000 (14:05 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 12 Feb 2023 12:05:44 +0000 (14:05 +0200)
* lisp/textmodes/ispell.el (ispell-personal-dictionary)
(ispell-local-pdict): Mention Hunspell misfeatures in doc
strings.  (Bug#61190)

lisp/textmodes/ispell.el

index 3da6effbcfefa825f634ff1b7ee9943623f9ffee..bb2bcfd8052b536091ae7268dd74cee18d027050 100644 (file)
@@ -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)