1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
emacs/lisp/vc
Juri Linkov 6973b1489b Syntactic fontification of diff hunks (bug#33567)
* lisp/vc/diff-mode.el (diff-font-lock-syntax): New defcustom.
(diff-default-directory): New buffer-local variable.
(diff-indicator-removed, diff-indicator-added)
(diff-indicator-changed): Set foreground to distinctive colors.
(diff-context): Remove colors to make room for syntax highlighting.
(diff-font-lock-keywords): Add diff--font-lock-syntax.
(diff--font-lock-cleanup): Remove diff-mode syntax overlays.
(diff--font-lock-syntax, diff--font-lock-syntax--refresh)
(diff-syntax-fontify-revisions, diff-syntax-fontify-hunk)
(diff-syntax-fontify-props): New functions.

* lisp/vc/diff.el (diff-no-select): Set diff-default-directory to
default-directory.

* doc/emacs/files.texi (Diff Mode): Document diff-font-lock-syntax.
2018-12-18 01:11:15 +02:00
..
add-log.el
compare-w.el
cvs-status.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
diff-mode.el Syntactic fontification of diff hunks (bug#33567) 2018-12-18 01:11:15 +02:00
diff.el Syntactic fontification of diff hunks (bug#33567) 2018-12-18 01:11:15 +02:00
ediff-diff.el
ediff-help.el
ediff-hook.el
ediff-init.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
ediff-merg.el
ediff-mult.el
ediff-ptch.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
ediff-util.el
ediff-vers.el
ediff-wind.el
ediff.el Merge from origin/emacs-26 2018-11-28 07:51:12 -08:00
emerge.el
log-edit.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
log-view.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
pcvs-defs.el
pcvs-info.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
pcvs-parse.el
pcvs-util.el
pcvs.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
smerge-mode.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
vc-annotate.el
vc-bzr.el Honor 'vc-bzr-log-switches' in 'vc-bzr-revision-table' 2018-12-08 11:39:35 +02:00
vc-cvs.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
vc-dav.el
vc-dir.el
vc-dispatcher.el
vc-filewise.el
vc-git.el Support git commit --no-verify 2018-12-11 01:17:52 +02:00
vc-hg.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
vc-hooks.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
vc-mtn.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
vc-rcs.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
vc-sccs.el
vc-src.el
vc-svn.el file-attributes cleanup 2018-09-23 18:32:59 -07:00
vc.el * lisp/vc/vc.el (vc-find-revision-no-save): Use decode-coding-inserted-region 2018-12-13 01:17:05 +02:00