(sieve-manage-is-string): Accept literals too.
authorSimon Josefsson <jas@extundo.com>
Wed, 17 Sep 2008 11:06:34 +0000 (11:06 +0000)
committerSimon Josefsson <jas@extundo.com>
Wed, 17 Sep 2008 11:06:34 +0000 (11:06 +0000)
Reported by Arnt Gulbrandsen <arnt@oryx.com>.

lisp/ChangeLog
lisp/sieve-manage.el

index 3085e50..556c2ea 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-17  Simon Josefsson  <simon@josefsson.org>
+
+       * sieve-manage.el (sieve-manage-is-string): Accept literals too.
+       Reported by Arnt Gulbrandsen <arnt@oryx.com>.
+
 2008-09-16  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * gnus-registry.el (gnus-registry-use-long-group-names): Make t the
index 513aa9f..2e9ec77 100644 (file)
@@ -647,7 +647,7 @@ password is remembered in the buffer."
         (prog1
             (match-string 1)
           (goto-char (match-end 0))))
-       ((looking-at (concat "{\\([0-9]+\\)}" sieve-manage-server-eol))
+       ((looking-at (concat "{\\([0-9]+\\+?\\)}" sieve-manage-server-eol))
         (let ((pos (match-end 0))
               (len (string-to-number (match-string 1))))
           (if (< (point-max) (+ pos len))