From 0116b3fd7ae21f85a827a41dd4c304c848ea806f Mon Sep 17 00:00:00 2001 From: Bridouz Date: Tue, 11 Dec 2018 17:09:16 +0100 Subject: [PATCH] emacs: Fix hunspell issues --- srcpkgs/emacs/files/hunspell_1.7.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/emacs/files/hunspell_1.7.patch diff --git a/srcpkgs/emacs/files/hunspell_1.7.patch b/srcpkgs/emacs/files/hunspell_1.7.patch new file mode 100644 index 0000000000..1b36605b0b --- /dev/null +++ b/srcpkgs/emacs/files/hunspell_1.7.patch @@ -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))