From: Francesco Potortì Date: Thu, 22 Sep 1994 11:41:17 +0000 (+0000) Subject: * ispell.el (check-ispell-version): suggest to try ispell4.el if X-Git-Tag: emacs-19.34~6852 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=130f43af3de2c8673940008b272dc7c128591903;p=emacs.git * ispell.el (check-ispell-version): suggest to try ispell4.el if version does not match. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index c1bf5e52709..6955d98968c 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1399,13 +1399,14 @@ scrolling the current window. Leave the new window selected." "\\|") "\\)\\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)))))