diff options
| author | Eli Zaretskii | 2018-05-04 17:25:33 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-05-04 17:25:33 +0300 |
| commit | d0d75f9b4ecbaa7e49aaad8802ca2f0e3de7e480 (patch) | |
| tree | 6b057b89c965d3ea35b51cbcd2886bbc81b2721a /lisp | |
| parent | b90ce66d32ede14a9191008096e596f6dfb9a48b (diff) | |
| download | emacs-d0d75f9b4ecbaa7e49aaad8802ca2f0e3de7e480.tar.gz emacs-d0d75f9b4ecbaa7e49aaad8802ca2f0e3de7e480.zip | |
Make 'ispell-initialize-spellchecker-hook' work again
* lisp/textmodes/ispell.el (ispell-base-dicts-override-alist):
Defvar it to allow dynamic binding. (Bug#31341)
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/ispell.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 9288a77ba3e..88ab7fe1e95 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1237,6 +1237,10 @@ If LANG is omitted, get the extra word characters for the default language." | |||
| 1237 | (defvar ispell-last-program-name nil | 1237 | (defvar ispell-last-program-name nil |
| 1238 | "Last value of `ispell-program-name'. Internal use.") | 1238 | "Last value of `ispell-program-name'. Internal use.") |
| 1239 | 1239 | ||
| 1240 | ;; Allow dynamically binding ispell-base-dicts-override-alist as | ||
| 1241 | ;; advertised in the doc string of ispell-initialize-spellchecker-hook. | ||
| 1242 | (defvar ispell-base-dicts-override-alist) | ||
| 1243 | |||
| 1240 | (defvar ispell-initialize-spellchecker-hook nil | 1244 | (defvar ispell-initialize-spellchecker-hook nil |
| 1241 | "Normal hook run on spellchecker initialization. | 1245 | "Normal hook run on spellchecker initialization. |
| 1242 | This hook is run when a spellchecker is used for the first | 1246 | This hook is run when a spellchecker is used for the first |