aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorEli Zaretskii2005-09-10 15:09:06 +0000
committerEli Zaretskii2005-09-10 15:09:06 +0000
commitc10b0abc3891947ffe2b56ed8228e8d1a8b7c583 (patch)
tree481de04da59c727368ac23a60ec89a493e7ad271 /lisp/textmodes
parent4ca7c4680d02eec2260a920e834425d86dfd1d3e (diff)
downloademacs-c10b0abc3891947ffe2b56ed8228e8d1a8b7c583.tar.gz
emacs-c10b0abc3891947ffe2b56ed8228e8d1a8b7c583.zip
(ispell-check-version): Signal an error if aspell version is less than 0.60.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el5
1 files changed, 4 insertions, 1 deletions
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