aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2024-03-03 15:55:30 +0100
committerMattias EngdegÄrd2024-03-04 14:13:26 +0100
commit2c2a15bd171ecbf87fdac4405c7ea5f567fcf38a (patch)
tree121dc921b50d6315e1c654efd115d9d2a486b3ac
parent3b7cb55e5bec692fc1055e0b70a95afb4fac107f (diff)
downloademacs-2c2a15bd171ecbf87fdac4405c7ea5f567fcf38a.tar.gz
emacs-2c2a15bd171ecbf87fdac4405c7ea5f567fcf38a.zip
; * lisp/vc/diff-mode.el (diff--refine-hunk): Escape literal `+`.
-rw-r--r--lisp/vc/diff-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 99ac50c155a..ac7d55c8a46 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -2353,7 +2353,7 @@ by `diff-refine-hunk'."
2353 (match-end 0) 2353 (match-end 0)
2354 'diff-refine-removed)) 2354 'diff-refine-removed))
2355 (goto-char middle) 2355 (goto-char middle)
2356 (while (re-search-forward "^\\(?:+.*\n\\)+" end t) 2356 (while (re-search-forward "^\\(?:\\+.*\n\\)+" end t)
2357 (diff--refine-propertize (match-beginning 0) 2357 (diff--refine-propertize (match-beginning 0)
2358 (match-end 0) 2358 (match-end 0)
2359 'diff-refine-added)))))) 2359 'diff-refine-added))))))