# HG changeset patch # User Eli Zaretskii # Date 1126364883 0 # Node ID 5386c72358817d00eaa8dd8806b67c655fc0f4bf # Parent 59fb5e4480cee9a5437c72aee4157118039a45f4 (ispell-check-version): Signal an error if aspell version is less than 0.60. diff -r 59fb5e4480ce -r 5386c7235881 lisp/textmodes/ispell.el --- 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))