1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-10 09:43:26 -08:00
emacs/doc/emacs
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
..
abbrevs.texi More fixes in the Emacs manual 2018-02-18 20:52:21 +02:00
ack.texi More fixes in the Emacs manual 2018-01-30 18:09:28 +02:00
anti.texi More changes for the manual 2018-02-08 18:24:16 +02:00
arevert-xtra.texi Yet another round of improvements in the manual 2018-02-07 22:24:13 +02:00
basic.texi More manual editing 2018-03-25 15:15:20 +02:00
buffers.texi More minor changes in the manual 2018-03-08 17:53:09 +02:00
building.texi Merge from origin/emacs-26 2018-12-02 10:32:23 -08:00
cal-xtra.texi Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calendar.texi More manual editing 2018-03-25 15:15:20 +02:00
ChangeLog.1 Use “Cc” for email copies, as per RFC 5322. 2018-05-20 11:02:50 -07:00
cmdargs.texi Minor copyedits in documentation of HOME handling 2018-11-14 21:45:41 +02:00
commands.texi More changes in the Emacs manual 2018-03-11 20:07:38 +02:00
custom.texi Document recent change to HOME handling 2018-11-14 09:32:28 -08:00
dired-xtra.texi Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dired.texi Merge from origin/emacs-26 2018-11-16 08:30:20 -08:00
display.texi Improve documentation of last change 2018-08-15 05:37:45 +03:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
docstyle.texi * doc/emacs/docstyle.texi: Avoid messing up the html output. 2018-07-02 22:37:22 -07:00
emacs-xtra.texi Fix copyright years by hand 2018-01-01 01:02:09 -08:00
emacs.texi Merge from origin/emacs-26 2018-03-28 09:38:22 -07:00
emacsver.texi.in Stop keeping doc/emacs/emacsver.texi in the repository 2014-11-09 16:17:17 -08:00
emerge-xtra.texi Update copyright year to 2018 2018-01-01 00:57:59 -08:00
entering.texi * doc/emacs/entering.texi (Entering Emacs): Another wording fix. 2018-02-02 11:18:38 +02:00
files.texi Syntactic fontification of diff hunks (bug#33567) 2018-12-18 01:11:15 +02:00
fixit.texi Merge from origin/emacs-26 2018-07-13 09:28:15 -07:00
fortran-xtra.texi Fix xrefs in pdf Emacs manual 2018-03-28 14:20:57 -04:00
frames.texi Improve documentation of X resource loading 2018-10-27 11:24:53 +03:00
glossary.texi More changes in the Emacs manual 2018-03-11 20:07:38 +02:00
gnu.texi Update copyright year to 2018 2018-01-01 00:57:59 -08:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
help.texi * doc/emacs/help.texi (Misc Help): Document 'info-other-window'. 2018-09-30 17:05:29 +02:00
indent.texi ; Minor markup change in indent.texi 2018-07-25 17:22:29 +03:00
killing.texi * doc/emacs/killing.texi (Rectangles): Don't use @key for characters. 2018-02-27 19:58:33 +02:00
kmacro.texi * doc/emacs/kmacro.texi (Basic Keyboard Macro): Mention old bindings 2018-09-24 14:58:11 -04:00
m-x.texi More improvements in the Emacs manual 2018-02-21 20:32:11 +02:00
macos.texi Minor copyedits in Emacs manual in macos.texi 2018-05-23 19:02:00 +03:00
maintaining.texi * lisp/vc/vc.el (vc-root-version-diff): New command (bug#33650). 2018-12-11 01:54:20 +02:00
Makefile.in Fix ‘make clean’ with a file named ‘-.o’ 2018-09-24 10:45:07 -07:00
mark.texi ; * doc/emacs/mark.texi (Disabled Transient Mark): Fix last change. 2018-10-12 11:33:31 +03:00
mini.texi Merge from origin/emacs-26 2018-03-28 09:38:22 -07:00
misc.texi Add support in emacsclient for EMACS_SOCKET_NAME 2018-10-27 12:18:27 +03:00
modes.texi Remove @key{} markups from @kindex entries in manuals 2018-02-26 09:24:39 +01:00
msdos-xtra.texi More changes in the Emacs manual 2018-03-11 20:07:38 +02:00
msdos.texi Speed up reading sub-process output on MS-Windows 2018-06-30 11:43:42 +03:00
mule.texi ; * doc/emacs/mule.texi (International Chars): Fix last change. 2018-07-27 08:54:44 +03:00
package.texi * lisp/emacs-lisp/package.el: New quickstart feature 2018-03-26 09:41:30 -04:00
picture-xtra.texi Fix xrefs in pdf Emacs manual 2018-03-28 14:20:57 -04:00
programs.texi Merge from origin/emacs-26 2018-09-15 09:20:32 -07:00
regs.texi Add to documentation of 'jump-to-register' 2018-07-14 15:14:25 +02:00
rmail.texi Merge from origin/emacs-26 2018-11-16 08:30:20 -08:00
screen.texi Replace "carriage-return" by "carriage return" in manuals 2018-03-15 10:56:08 +01:00
search.texi * lisp/isearch.el (isearch-yank-on-move): New defcustom 2018-12-04 02:41:54 +02:00
sending.texi Revert part of the previous change 2018-05-20 21:27:42 +03:00
text.texi Use Enriched mode in etc/HELLO to keep charset information 2018-05-19 18:17:38 +03:00
trouble.texi Clarify in the Emacs manual that ChangeLog files are not used 2018-08-23 20:02:27 +03:00
vc-xtra.texi Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc1-xtra.texi More fixes for the Emacs manual 2018-02-16 23:37:38 +02:00
windows.texi Merge from origin/emacs-26 2018-11-16 08:30:20 -08:00
xresources.texi Improve documentation of X resource loading 2018-10-27 11:24:53 +03:00