[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 640b41c 1/2: Simplify ispell-check-version’s use of -vv flag
From: |
Reuben Thomas |
Subject: |
master 640b41c 1/2: Simplify ispell-check-version’s use of -vv flag |
Date: |
Tue, 3 Nov 2020 11:57:11 -0500 (EST) |
branch: master
commit 640b41cd9b7e1196eea51a5664a3756916e37715
Author: Reuben Thomas <rrt@sc3d.org>
Commit: Reuben Thomas <rrt@sc3d.org>
Simplify ispell-check-version’s use of -vv flag
* lisp/textmodes/ispell.el (ispell-check-version): All supported spell
checker programs accept -vv, including aspell for many years, so use
it.
---
lisp/textmodes/ispell.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index da518b1..60415b0 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -684,13 +684,11 @@ Otherwise returns the library directory name, if that is
defined."
(with-temp-buffer
(setq status (ispell-call-process
ispell-program-name nil t nil
- ;; aspell doesn't accept the -vv switch.
(let ((case-fold-search
(memq system-type '(ms-dos windows-nt)))
(speller
(file-name-nondirectory ispell-program-name)))
- ;; Assume anything that isn't `aspell' is Ispell.
- (if (string-match "\\`aspell" speller) "-v" "-vv"))))
+ "-vv")))
(goto-char (point-min))
(if interactivep
;; Report version information of ispell