aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-05-24 23:26:33 +0000
committerChong Yidong2009-05-24 23:26:33 +0000
commitd1dca2014bac8cf8693626b6b18b32fbc7c4fdb0 (patch)
tree2d377a65e4607b789d2fa479dce29b605066b5f1
parent00b8844c369b382efa79eec193847378a532a596 (diff)
downloademacs-d1dca2014bac8cf8693626b6b18b32fbc7c4fdb0.tar.gz
emacs-d1dca2014bac8cf8693626b6b18b32fbc7c4fdb0.zip
* textmodes/ispell.el (ispell-check-version): Handle dashes in
version numbers. Suggested by sdl.web@gmail.com (Bug#3369).
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/ispell.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ac9f1a83732..caaef5d3d82 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-05-24 Chong Yidong <cyd@stupidchicken.com>
2
3 * textmodes/ispell.el (ispell-check-version): Handle dashes in
4 version numbers. Suggested by sdl.web@gmail.com (Bug#3369).
5
12009-05-23 Chong Yidong <cyd@stupidchicken.com> 62009-05-23 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * info.el (Info-mode): Doc fix (Bug#3358). 8 * info.el (Info-mode): Doc fix (Bug#3358).
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 364e3c008df..c68d69b969e 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -812,11 +812,11 @@ Otherwise returns the library directory name, if that is defined."
812 (goto-char (point-min)) 812 (goto-char (point-min))
813 (or (setq ispell-really-aspell 813 (or (setq ispell-really-aspell
814 (and (search-forward-regexp 814 (and (search-forward-regexp
815 "(but really Aspell \\([0-9]+\\.[0-9\\.]+\\)?)" nil t) 815 "(but really Aspell \\([0-9]+\\.[0-9\\.-]+\\)?)" nil t)
816 (match-string 1))) 816 (match-string 1)))
817 (setq ispell-really-hunspell 817 (setq ispell-really-hunspell
818 (and (search-forward-regexp 818 (and (search-forward-regexp
819 "(but really Hunspell \\([0-9]+\\.[0-9\\.]+\\)?)" nil t) 819 "(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" nil t)
820 (match-string 1))))) 820 (match-string 1)))))
821 821
822 (let ((aspell-minver "0.50") 822 (let ((aspell-minver "0.50")