diff lisp/textmodes/ispell.el @ 103286:b05973aa4a3f

* textmodes/ispell.el (ispell-check-version): Handle dashes in version numbers. Suggested by sdl.web@gmail.com (Bug#3369).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 24 May 2009 23:26:33 +0000
parents be8a3c9869d3
children 4b98e52b12b1
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Sun May 24 20:09:51 2009 +0000
+++ b/lisp/textmodes/ispell.el	Sun May 24 23:26:33 2009 +0000
@@ -812,11 +812,11 @@
 	(goto-char (point-min))
 	(or (setq ispell-really-aspell
 		  (and (search-forward-regexp
-			"(but really Aspell \\([0-9]+\\.[0-9\\.]+\\)?)" nil t)
+			"(but really Aspell \\([0-9]+\\.[0-9\\.-]+\\)?)" nil t)
 		       (match-string 1)))
 	    (setq ispell-really-hunspell
 		  (and (search-forward-regexp
-			"(but really Hunspell \\([0-9]+\\.[0-9\\.]+\\)?)" nil t)
+			"(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" nil t)
 		       (match-string 1)))))
 
       (let ((aspell-minver    "0.50")