1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00

Make 'ispell-initialize-spellchecker-hook' work again

* lisp/textmodes/ispell.el (ispell-base-dicts-override-alist):
Defvar it to allow dynamic binding.  (Bug#31341)
This commit is contained in:
Eli Zaretskii 2018-05-04 17:25:33 +03:00
parent b90ce66d32
commit d0d75f9b4e

View File

@ -1237,6 +1237,10 @@ If LANG is omitted, get the extra word characters for the default language."
(defvar ispell-last-program-name nil
"Last value of `ispell-program-name'. Internal use.")
;; Allow dynamically binding ispell-base-dicts-override-alist as
;; advertised in the doc string of ispell-initialize-spellchecker-hook.
(defvar ispell-base-dicts-override-alist)
(defvar ispell-initialize-spellchecker-hook nil
"Normal hook run on spellchecker initialization.
This hook is run when a spellchecker is used for the first