diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2018-10-21 11:05:49 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2018-10-21 11:05:49 -0400 |
commit | 17252062b03defe9eac6a510e88b87932ef400fe (patch) | |
tree | 5dc9d05befd582c2eacb990186857eaffbc19cce /lisp/language/misc-lang.el | |
parent | 67d3b40e0cba5f34b1c7aacc4e1ccea6300eae76 (diff) | |
download | emacs-17252062b03defe9eac6a510e88b87932ef400fe.tar.gz emacs-17252062b03defe9eac6a510e88b87932ef400fe.tar.bz2 emacs-17252062b03defe9eac6a510e88b87932ef400fe.zip |
* lisp/vc/diff-mode.el: Improve diff-font-lock-prettify
A few tweaks to the previous code for corner case problems, and a new
feature, which is to move the +/- signs to the left fringe.
(diff--font-lock-cleanup, diff--filter-substring): New functions.
(diff-mode): Use them.
(diff--font-lock-refined): Mark the overall overlays as `diff-mode
fine` as well, so they get properly cleaned up when changing mode.
(diff-fringe-add, diff-fringe-del, diff-fringe-rep, diff-fringe-nul):
New bitmaps.
(diff--font-lock-prettify): Move the +/- signs to the fringe.
(diff-wiggle): Use 'user-error'.
Diffstat (limited to 'lisp/language/misc-lang.el')
0 files changed, 0 insertions, 0 deletions