]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove unused variable in ispell.el (thanks, Stefan Kangas)
authorReuben Thomas <rrt@sc3d.org>
Wed, 4 Nov 2020 08:50:25 +0000 (08:50 +0000)
committerReuben Thomas <rrt@sc3d.org>
Wed, 4 Nov 2020 08:50:25 +0000 (08:50 +0000)
* lisp/textmodes/ispell.el (ispell-check-version): Remove unused
variable `speller'.

lisp/textmodes/ispell.el

index c185f9f2c812b1f6cc65927a0f73808f30b563a9..3358cf1ba321aa6195289b04e16b4cf9b0265791 100644 (file)
@@ -685,9 +685,7 @@ Otherwise returns the library directory name, if that is defined."
       (setq status (ispell-call-process
                    ispell-program-name nil t nil
                    (let ((case-fold-search
-                          (memq system-type '(ms-dos windows-nt)))
-                         (speller
-                          (file-name-nondirectory ispell-program-name)))
+                          (memq system-type '(ms-dos windows-nt))))
                      "-vv")))
       (goto-char (point-min))
       (if interactivep