emacs: Fix hunspell issues
This commit is contained in:
parent
f3f34faa60
commit
0116b3fd7a
1 changed files with 16 additions and 0 deletions
16
srcpkgs/emacs/files/hunspell_1.7.patch
Normal file
16
srcpkgs/emacs/files/hunspell_1.7.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- a/lisp/textmodes/ispell.el
|
||||
+++ b/lisp/textmodes/ispell.el
|
||||
@@ -1113,7 +1113,12 @@ dictionary from that list was found."
|
||||
null-device
|
||||
t
|
||||
nil
|
||||
- "-D")
|
||||
+ ;; 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)
|
||||
(buffer-string))
|
||||
"[\n\r]+"
|
||||
t))
|
Loading…
Reference in a new issue