From: Chong Yidong Date: Sun, 24 May 2009 23:26:33 +0000 (+0000) Subject: * textmodes/ispell.el (ispell-check-version): Handle dashes in X-Git-Tag: emacs-pretest-23.0.95~171 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d1dca2014bac8cf8693626b6b18b32fbc7c4fdb0;p=emacs.git * textmodes/ispell.el (ispell-check-version): Handle dashes in version numbers. Suggested by sdl.web@gmail.com (Bug#3369). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ac9f1a83732..caaef5d3d82 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-05-24 Chong Yidong + + * textmodes/ispell.el (ispell-check-version): Handle dashes in + version numbers. Suggested by sdl.web@gmail.com (Bug#3369). + 2009-05-23 Chong Yidong * 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." (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")