Mercurial > emacs
changeset 65433:5386c7235881
(ispell-check-version): Signal an error if aspell version is less than 0.60.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 10 Sep 2005 15:08:03 +0000 |
parents | 59fb5e4480ce |
children | 6ad2caaeea0f |
files | lisp/textmodes/ispell.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el Sat Sep 10 15:05:44 2005 +0000 +++ b/lisp/textmodes/ispell.el Sat Sep 10 15:08:03 2005 +0000 @@ -814,7 +814,10 @@ (goto-char (point-min)) (let (case-fold-search) (setq ispell-really-aspell - (and (search-forward "(but really Aspell " nil t) t)))) + (and (search-forward-regexp "(but really Aspell \\(.*\\))" nil t) + (if (version< (match-string 1) "0.60") + (error "aspell version 0.60 or greater is required") + t))))) (kill-buffer (current-buffer))) result))