changeset 9002:6792b6d7e6c0

* ispell.el (check-ispell-version): suggest to try ispell4.el if version does not match.
author Francesco Potortì <pot@gnu.org>
date Thu, 22 Sep 1994 11:41:17 +0000
parents 69f0ae06bcdf
children bfe446409b77
files lisp/textmodes/ispell.el
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Thu Sep 22 07:41:35 1994 +0000
+++ b/lisp/textmodes/ispell.el	Thu Sep 22 11:41:17 1994 +0000
@@ -1399,13 +1399,14 @@
 				      "\\|")
 			   "\\)\\b")
 		   nil t))
-	     (error "version mismatch: ispell.el is for %s, %s is %s"
-		    (car ispell-required-versions)
+	     (error "%s version %s is required: try renaming ispell4.el to ispell.el"
 		    ispell-program-name
-		    (if (re-search-forward "version \\([0-9][0-9.]+\\)\\b"
-					   nil t)
-			(buffer-substring (match-beginning 1) (match-end 1))
-		      "an unknown version"))))
+		    (car ispell-required-versions)
+		    ;(if (re-search-forward "version \\([0-9][0-9.]+\\)\\b"
+		    ;			   nil t)
+		    ;	(buffer-substring (match-beginning 1) (match-end 1))
+		    ; "an unknown version")
+		    )))
       (kill-buffer (current-buffer)))))