diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-07-01 00:23:11 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-07-01 00:47:09 -0400 |
commit | c657b6b9e71f11d36ccde37d6a1343bd2cc6178f (patch) | |
tree | 17ade9cb92b3016ac4daa6f06cc8b39b85b73d7f | |
parent | 66ef99e6c26da5bff7dfeb758f64ad96f976606d (diff) | |
download | emacs.d-c657b6b9e71f11d36ccde37d6a1343bd2cc6178f.tar.gz |
diff-review-as-mail: Anchor regexp search
-rw-r--r-- | lisp/km-diff.el | 2 |
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) |