diff options
| -rw-r--r-- | lisp/textmodes/ispell.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 656c9fad932..237997d41d7 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1114,12 +1114,19 @@ dictionary from that list was found." | |||
| 1114 | null-device | 1114 | null-device |
| 1115 | t | 1115 | t |
| 1116 | nil | 1116 | nil |
| 1117 | "-D" | ||
| 1118 | ;; Use -a to prevent Hunspell from | ||
| 1119 | ;; trying to initialize its | ||
| 1120 | ;; curses/termcap UI, which causes it | ||
| 1121 | ;; to crash or fail to start in some | ||
| 1122 | ;; MS-Windows ports. | ||
| 1123 | "-a" | ||
| 1117 | ;; Hunspell 1.7.0 (and later?) won't | 1124 | ;; Hunspell 1.7.0 (and later?) won't |
| 1118 | ;; show LOADED DICTIONARY unless | 1125 | ;; show LOADED DICTIONARY unless |
| 1119 | ;; there's at least one file argument | 1126 | ;; there's at least one file argument |
| 1120 | ;; on the command line. So we feed | 1127 | ;; on the command line. So we feed |
| 1121 | ;; it with the null device. | 1128 | ;; it with the null device. |
| 1122 | "-D" null-device) | 1129 | null-device) |
| 1123 | (buffer-string)) | 1130 | (buffer-string)) |
| 1124 | "[\n\r]+" | 1131 | "[\n\r]+" |
| 1125 | t)) | 1132 | t)) |