changeset 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 7c73e4f57ecf
children e501499f857c
files lisp/ChangeLog lisp/textmodes/ispell.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun May 24 20:09:51 2009 +0000
+++ b/lisp/ChangeLog	Sun May 24 23:26:33 2009 +0000
@@ -1,3 +1,8 @@
+2009-05-24  Chong Yidong  <cyd@stupidchicken.com>
+
+	* textmodes/ispell.el (ispell-check-version): Handle dashes in
+	version numbers.  Suggested by sdl.web@gmail.com (Bug#3369).
+
 2009-05-23  Chong Yidong  <cyd@stupidchicken.com>
 
 	* info.el (Info-mode): Doc fix (Bug#3358).
--- 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")