diff options
author | Juri Linkov <juri@linkov.net> | 2018-12-19 00:55:15 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2018-12-19 00:55:15 +0200 |
commit | 8cbbf4ba25bef2c6c1b525aa380a1cd3f0b0d012 (patch) | |
tree | e08309ab9586f4798660b7e194a68966a63031b8 /lisp/emacs-lisp/find-func.el | |
parent | cdaaaf2e1bd1f8ad2784ffc8265aa642da2d1190 (diff) | |
download | emacs-8cbbf4ba25bef2c6c1b525aa380a1cd3f0b0d012.tar.gz emacs-8cbbf4ba25bef2c6c1b525aa380a1cd3f0b0d012.tar.bz2 emacs-8cbbf4ba25bef2c6c1b525aa380a1cd3f0b0d012.zip |
Fontify one-line diffs without the final newline (bug#33567)
* lisp/vc/diff-mode.el (diff-hunk-text, diff-syntax-fontify-hunk):
Skip lines beginning with backslash like "\ No newline at end of file".
(diff-syntax-fontify-hunk): Use string-trim-right.
For one-line diffs use 1 explicitly in the list of line numbers.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
0 files changed, 0 insertions, 0 deletions