From: Dmitry Gutov Date: Thu, 5 Sep 2013 21:46:34 +0000 (+0300) Subject: diff-hl-dired-highlight-items: Use the `single' type X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/906b14fe069f196eeeaca1fe26537994ee308ac0 diff-hl-dired-highlight-items: Use the `single' type * Because having changes in several disjoint files is the most usual situation, and they look better this way. * It doesn't look too good with several adjacent changed files. Maybe do some smart grouping preprocessing later. --- diff --git a/diff-hl-dired.el b/diff-hl-dired.el index bca753621..94723c4b7 100644 --- a/diff-hl-dired.el +++ b/diff-hl-dired.el @@ -88,7 +88,7 @@ (when (and type (dired-goto-file-1 file (expand-file-name file) nil)) (forward-line 0) - (diff-hl-add-highlighting type 'middle)))))) + (diff-hl-add-highlighting type 'single)))))) (defalias 'diff-hl-dired-clear 'diff-hl-remove-overlays)