(ispell-check-version): Signal an error if aspell version is less than 0.60.

This commit is contained in:
Eli Zaretskii 2005-09-10 15:09:06 +00:00
parent 4ca7c4680d
commit c10b0abc38
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-09-10 Magnus Henoch <mange@freemail.hu>
* textmodes/ispell.el (ispell-check-version): Signal an error if
aspell version is less than 0.60.
2005-09-10 Pascal Dupuis <Pascal.Dupuis@esat.kuleuven.be> (tiny change)
* progmodes/octave-inf.el (inferior-octave-startup): Resync

View file

@ -814,7 +814,10 @@ Otherwise returns the library directory name, if that is defined."
(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))