diff options
| author | Stefan Monnier | 2018-07-13 12:34:50 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2018-07-13 12:35:25 -0400 |
| commit | 41f5de7c8ac3da19ccc8c96be52a6714a9b49a8f (patch) | |
| tree | 25fe4bbaf3c6e893f6af60555bd72f4c3fbd20dd /etc | |
| parent | cda7e1850f2f19a5025fd163ff2c6c6cba275acf (diff) | |
| download | emacs-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/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -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 | ||
| 217 | To disable it, set the new defcustom 'diff-font-lock-refine' to nil. | ||
| 218 | |||
| 219 | *** File headers can be shortened, mimicking Magit's diff format | ||
| 220 | To 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. |