1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* textmodes/ispell.el (ispell-check-version): Handle dashes in

version numbers.  Suggested by sdl.web@gmail.com (Bug#3369).
This commit is contained in:
Chong Yidong 2009-05-24 23:26:33 +00:00
parent 00b8844c36
commit d1dca2014b
2 changed files with 7 additions and 2 deletions

View file

@ -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).

View file

@ -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")