; * lisp/vc/diff-mode.el (diff--refine-hunk): Escape literal +.

This commit is contained in:
Mattias Engdegård 2024-03-03 15:55:30 +01:00
parent 3b7cb55e5b
commit 2c2a15bd17

View file

@ -2353,7 +2353,7 @@ by `diff-refine-hunk'."
(match-end 0)
'diff-refine-removed))
(goto-char middle)
(while (re-search-forward "^\\(?:+.*\n\\)+" end t)
(while (re-search-forward "^\\(?:\\+.*\n\\)+" end t)
(diff--refine-propertize (match-beginning 0)
(match-end 0)
'diff-refine-added))))))