]> git.eshelyaron.com Git - emacs.git/commit
Avoid inefficient regex in diff-refine-hunk (Bug#25410)
authorNoam Postavsky <npostavs@gmail.com>
Fri, 13 Jan 2017 04:32:44 +0000 (23:32 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 19 Jan 2017 01:37:31 +0000 (20:37 -0500)
commit8c0fcaf66733f0538a3f024f383cb34a3c93d73c
tree8e6e1908712592ba166c5db84b70c80c8d52f465
parent5304cb983146fe55ea1b4963ffc756ca4325673d
Avoid inefficient regex in diff-refine-hunk (Bug#25410)

* lisp/vc/diff-mode.el (diff--forward-while-leading-char): New function.
(diff-refine-hunk): Use it instead of trying to match multiple lines
with a single lines.
lisp/vc/diff-mode.el