aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2018-07-13 12:34:50 -0400
committerStefan Monnier2018-07-13 12:35:25 -0400
commit41f5de7c8ac3da19ccc8c96be52a6714a9b49a8f (patch)
tree25fe4bbaf3c6e893f6af60555bd72f4c3fbd20dd /etc
parentcda7e1850f2f19a5025fd163ff2c6c6cba275acf (diff)
downloademacs-41f5de7c8ac3da19ccc8c96be52a6714a9b49a8f.tar.gz
emacs-41f5de7c8ac3da19ccc8c96be52a6714a9b49a8f.zip
* lisp/vc/diff-mode.el (diff-font-lock-prettify): New var
(diff--font-lock-prettify): New function. (diff-font-lock-keywords): Use it.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 1a1e0d8b70e..c69bbe9d0f6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -212,6 +212,13 @@ navigation and editing of large files.
212 212
213* Changes in Specialized Modes and Packages in Emacs 27.1 213* Changes in Specialized Modes and Packages in Emacs 27.1
214 214
215** diff-mode
216*** Hunks are now automatically refined by default
217To disable it, set the new defcustom 'diff-font-lock-refine' to nil.
218
219*** File headers can be shortened, mimicking Magit's diff format
220To enable it, set the new defcustom 'diff-font-lock-prettify to t.
221
215** Browse-url 222** Browse-url
216 223
217*** The function 'browse-url-emacs' can now visit a URL in selected window. 224*** The function 'browse-url-emacs' can now visit a URL in selected window.