]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't pass 'null-device' to 'call-process' in ispell
authorJim Porter <jporterbugs@gmail.com>
Thu, 1 Jul 2021 11:01:00 +0000 (13:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 2 Jul 2021 10:53:35 +0000 (12:53 +0200)
* lisp/textmodes/ispell.el (ispell-find-hunspell-dictionaries):
Replace 'null-device' with nil (bug#49283).  This allows running a
local ispell process when editing a buffer editing a file via Tramp.

lisp/textmodes/ispell.el

index ce5a57208541049f0b05c597baf3d99dae0c9116..0a82bf5a2d479503a5cac65975c786caaa6eab43 100644 (file)
@@ -1076,7 +1076,7 @@ dictionary from that list was found."
           (split-string
            (with-temp-buffer
              (ispell-call-process ispell-program-name
-                            null-device
+                            nil
                             t
                             nil
                             "-D"