emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] ispell-check-version chokes on hyphen in version string


From: Eric Hanchrow
Subject: [PATCH] ispell-check-version chokes on hyphen in version string
Date: Fri, 07 Oct 2005 13:51:10 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.51 (gnu/linux)

This fix worked for me:

2005-10-07  Eric Hanchrow <address@hidden>
        * textmodes/ispell.el (ispell-check-version):
        Ignore hyphen, and all that follows, in aspell's version text.

--- ispell.el   04 Oct 2005 08:47:08 -0700      1.178
+++ ispell.el   07 Oct 2005 13:44:07 -0700      
@@ -821,7 +821,7 @@
         (let (case-fold-search)
           (setq ispell-really-aspell
                (and (search-forward-regexp
-                     "(but really Aspell \\(.*\\))" nil t)
+                     "(but really Aspell \\(.*?\\)\\(-[0-9]+\\)?)" nil t)
                     (progn
                       (setq ispell-aspell-supports-utf8
                             (not (version< (match-string 1) "0.60")))

-- 
Using Unix is the computing equivalent of listening only to music
by David Cassidy.
        -- Rob Pike





reply via email to

[Prev in Thread] Current Thread [Next in Thread]