emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f3d93eb: Fix visual fringe glitch in diff-mode


From: Lars Ingebrigtsen
Subject: master f3d93eb: Fix visual fringe glitch in diff-mode
Date: Fri, 14 Aug 2020 11:34:13 -0400 (EDT)

branch: master
commit f3d93eb401d7ed78f7c9e6492ce68142e51d5309
Author: Gregory Heytings <ghe@sdf.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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
---
 lisp/vc/diff-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index d194d6c..bd5ac9b 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]