diff options
| author | Gregory Heytings <ghe@sdf.org> | 2020-08-14 17:32:23 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-14 17:34:07 +0200 |
| commit | f3d93eb401d7ed78f7c9e6492ce68142e51d5309 (patch) | |
| tree | 64f5b8212ef172aba3fc0f4eec0c61891dbb552f /lisp/vc/diff-mode.el | |
| parent | 76514dcb6d55e2734a6e3357039124c80f05261f (diff) | |
| download | emacs-f3d93eb401d7ed78f7c9e6492ce68142e51d5309.tar.gz | |
Fix visual fringe glitch in diff-mode
* lisp/vc/diff-mode.el (diff--font-lock-prettify): Fix problems
with visual gaps in the fringes when changing font size (bug#42300).
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/vc/diff-mode.el')
| -rw-r--r-- | lisp/vc/diff-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index d194d6c0a0e..bd5ac9b9a62 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -2518,7 +2518,7 @@ fixed, visit it in a buffer." '((?+ . (left-fringe diff-fringe-add diff-indicator-added)) (?- . (left-fringe diff-fringe-del diff-indicator-removed)) (?! . (left-fringe diff-fringe-rep diff-indicator-changed)) - (?\s . (left-fringe diff-fringe-nul)))))) + (?\s . (left-fringe diff-fringe-nul fringe)))))) (put-text-property (match-beginning 0) (match-end 0) 'display spec)))) ;; Mimicks the output of Magit's diff. ;; FIXME: This has only been tested with Git's diff output. |
