From c657b6b9e71f11d36ccde37d6a1343bd2cc6178f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 1 Jul 2017 00:23:11 -0400 Subject: diff-review-as-mail: Anchor regexp search --- lisp/km-diff.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/km-diff.el b/lisp/km-diff.el index 9b92f7a..d7b706d 100644 --- a/lisp/km-diff.el +++ b/lisp/km-diff.el @@ -160,7 +160,7 @@ will copy and the current comment, (insert "> ") (forward-line 1)) (goto-char (point-min)) - (while (re-search-forward "> : ?" nil t) + (while (re-search-forward "^> : ?" nil t) (replace-match "")) (message-mode) (set-buffer-modified-p nil) -- cgit v1.2.3