diff options
| author | Chong Yidong | 2009-05-24 23:26:33 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-05-24 23:26:33 +0000 |
| commit | d1dca2014bac8cf8693626b6b18b32fbc7c4fdb0 (patch) | |
| tree | 2d377a65e4607b789d2fa479dce29b605066b5f1 /lisp/textmodes | |
| parent | 00b8844c369b382efa79eec193847378a532a596 (diff) | |
| download | emacs-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).
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/ispell.el | 4 |
1 files changed, 2 insertions, 2 deletions
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") |