1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(mail-extr-voodoo): Handle unmatched quotes in the comment-deletion loop.

This commit is contained in:
Richard M. Stallman 1997-07-27 01:54:56 +00:00
parent 9f993a1044
commit b9c22adf8a

View 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)