Commit 3aaa2d20 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix Hunspell invocation for discovering its dictionaries

* lisp/textmodes/ispell.el
(ispell-find-hunspell-dictionaries): Invoke Hunspell with the
-a switch, to prevent it from initializing its curses UI.
parent 0cd7b526
Pipeline #739 passed with stage
in 28 minutes and 10 seconds
......@@ -1114,12 +1114,19 @@ dictionary from that list was found."
;; Use -a to prevent Hunspell from
;; trying to initialize its
;; curses/termcap UI, which causes it
;; to crash or fail to start in some
;; MS-Windows ports.
;; Hunspell 1.7.0 (and later?) won't
;; show LOADED DICTIONARY unless
;; there's at least one file argument
;; on the command line. So we feed
;; it with the null device.
"-D" null-device)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment