From b84a484c9a795a498b29bc75f0b80a71fc4fa96c Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Wed, 12 Aug 2015 16:50:53 +0200 Subject: don't show hunk region boundaries when using v25.0.50 This is currently broken and the lines would be as high as every other line instead of one pixel. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21243 --- lisp/magit-diff.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index d195ddb..d8cc9ab 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -1967,7 +1967,9 @@ are highlighted." (ov sbeg cbeg 'face 'magit-diff-lines-heading 'display (concat (magit-diff-hunk-region-header section) "\n")) (ov cbeg rbeg 'face face 'priority 2) - (when (and (window-system) magit-diff-show-lines-boundary) + (when (and (window-system) magit-diff-show-lines-boundary + ;; FIXME http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21243 + (version< emacs-version "25.0.50")) (ov rbeg (1+ rbeg) 'before-string (propertize (concat (propertize "\s" 'display '(space :height (1))) (propertize "\n" 'line-height t)) -- cgit v1.0