]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-extr-voodoo): Handle unmatched quotes in the comment-deletion loop.
authorRichard M. Stallman <rms@gnu.org>
Sun, 27 Jul 1997 01:54:56 +0000 (01:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 27 Jul 1997 01:54:56 +0000 (01:54 +0000)
lisp/mail/mail-extr.el

index 4b5fa650e6242dcfa6b30c140f51d9a168ccc566..b7975928253965916a9223254ac5473627479a0e 100644 (file)
@@ -1456,7 +1456,7 @@ If ADDRESS contains more than one RFC-822 address, only the first is
        (let ((cbeg (point)))
          (set-syntax-table mail-extr-address-text-comment-syntax-table)
          (cond ((memq (following-char) '(?\' ?\`))
-                (search-forward "'" nil t
+                (search-forward "'" nil 'move
                                 (if (eq ?\' (following-char)) 2 1)))
                (t
                 (or (mail-extr-safe-move-sexp 1)