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
This commit is contained in:
parent
76514dcb6d
commit
f3d93eb401
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue