aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2005-09-10 15:09:06 +0000
committerEli Zaretskii2005-09-10 15:09:06 +0000
commitc10b0abc3891947ffe2b56ed8228e8d1a8b7c583 (patch)
tree481de04da59c727368ac23a60ec89a493e7ad271
parent4ca7c4680d02eec2260a920e834425d86dfd1d3e (diff)
downloademacs-c10b0abc3891947ffe2b56ed8228e8d1a8b7c583.tar.gz
emacs-c10b0abc3891947ffe2b56ed8228e8d1a8b7c583.zip
(ispell-check-version): Signal an error if aspell version is less than 0.60.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/ispell.el5
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d883cbb2236..ba777467eb6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-09-10 Magnus Henoch <mange@freemail.hu>
2
3 * textmodes/ispell.el (ispell-check-version): Signal an error if
4 aspell version is less than 0.60.
5
12005-09-10 Pascal Dupuis <Pascal.Dupuis@esat.kuleuven.be> (tiny change) 62005-09-10 Pascal Dupuis <Pascal.Dupuis@esat.kuleuven.be> (tiny change)
2 7
3 * progmodes/octave-inf.el (inferior-octave-startup): Resync 8 * progmodes/octave-inf.el (inferior-octave-startup): Resync
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 8bd8ed2d692..acd27d69c46 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -814,7 +814,10 @@ Otherwise returns the library directory name, if that is defined."
814 (goto-char (point-min)) 814 (goto-char (point-min))
815 (let (case-fold-search) 815 (let (case-fold-search)
816 (setq ispell-really-aspell 816 (setq ispell-really-aspell
817 (and (search-forward "(but really Aspell " nil t) t)))) 817 (and (search-forward-regexp "(but really Aspell \\(.*\\))" nil t)
818 (if (version< (match-string 1) "0.60")
819 (error "aspell version 0.60 or greater is required")
820 t)))))
818 (kill-buffer (current-buffer))) 821 (kill-buffer (current-buffer)))
819 result)) 822 result))
820 823