]> git.eshelyaron.com Git - emacs.git/commit
Fix ietf-drums-remove-whitespace unmatched " and (
authorBob Rogers <rogers@rgrjr.com>
Sun, 13 Feb 2022 08:32:13 +0000 (09:32 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Feb 2022 08:32:13 +0000 (09:32 +0100)
commit51d44fd705a2779beeb3fe1d59af88caadbc247a
treedcd9bc8dc1a092352f84489aa10dfe91f945394c
parentae13948ff52c91b4a8188be6a2cc8d65b440731c
Fix ietf-drums-remove-whitespace unmatched " and (

* lisp/mail/ietf-drums.el:
+ (ietf-drums-skip-comment):  New helper function.
+ (ietf-drums-remove-comments):  Use ietf-drums-skip-comment.
+ (ietf-drums-remove-whitespace):  Handle unterminated quotes and
comments, as ietf-drums-remove-comments already does.
* test/lisp/mail/ietf-drums-tests.el:
+ Test unterminated quote and comment for
ietf-drums-remove-whitespace and ietf-drums-remove-comments (bug#53965).
lisp/mail/ietf-drums.el
test/lisp/mail/ietf-drums-tests.el