]> git.eshelyaron.com Git - emacs.git/commit
* lisp/vc/diff-mode.el: Perform hunk refinement from font-lock
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Jul 2018 02:52:21 +0000 (22:52 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 11 Jul 2018 02:52:21 +0000 (22:52 -0400)
commitf8b1e40fb63b0a6bc6692cc0bc84e5f5e65c2644
tree4aaafe66b5cbfebf4415cbe4d35a10dc44e1ec05
parent1d7151e98e9da5eeb4e341cfdb7d1f4462dc5b70
* lisp/vc/diff-mode.el: Perform hunk refinement from font-lock

Remove redundant :group arguments.
(diff-font-lock-refine): New var.
(diff--refine-hunk): New function, extracted from diff-refine-hunk.
(diff-refine-hunk): Use it.
(diff--font-lock-refine--refresh): New function.
(diff--font-lock-refined): New function.
(diff-font-lock-keywords): Use it.
lisp/vc/diff-mode.el