summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-07-01 00:23:11 -0400
committerKyle Meyer <kyle@kyleam.com>2017-07-01 00:47:09 -0400
commitc657b6b9e71f11d36ccde37d6a1343bd2cc6178f (patch)
tree17ade9cb92b3016ac4daa6f06cc8b39b85b73d7f /lisp
parent66ef99e6c26da5bff7dfeb758f64ad96f976606d (diff)
downloademacs.d-c657b6b9e71f11d36ccde37d6a1343bd2cc6178f.tar.gz
diff-review-as-mail: Anchor regexp search
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-diff.el2
1 files changed, 1 insertions, 1 deletions
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)