[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ecc7fc3 03/22: diff-hl-fringe-bmp-from-type: Use `exclamat
From: |
Dmitry Gutov |
Subject: |
[elpa] master ecc7fc3 03/22: diff-hl-fringe-bmp-from-type: Use `exclamation-mark' |
Date: |
Fri, 02 Jan 2015 23:46:26 +0000 |
branch: master
commit ecc7fc3991183f9abe069344d9100a2f762dae4f
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
diff-hl-fringe-bmp-from-type: Use `exclamation-mark'
#25
---
diff-hl.el | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/diff-hl.el b/diff-hl.el
index 73276c3..d208ccb 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -152,8 +152,7 @@
(aset insert-bmp (1+ middle-pos) delete-row)
(aset insert-bmp (1- w2) 0)
(define-fringe-bitmap 'diff-hl-bmp-insert insert-bmp w2 w2)
- (define-fringe-bitmap 'diff-hl-bmp-change (make-vector
- w2 (* 3 middle-bit)) w2 w2))))
+ )))
(defun diff-hl-maybe-define-bitmaps ()
(when (window-system) ;; No fringes in the console.
@@ -177,9 +176,10 @@
(intern (format "diff-hl-bmp-%s" pos)))
(defun diff-hl-fringe-bmp-from-type (type _pos)
- (if (eq type 'unknown)
- 'question-mark
- (intern (format "diff-hl-bmp-%s" type))))
+ (cl-case type
+ (unknown 'question-mark)
+ (change 'exclamation-mark)
+ (t (intern (format "diff-hl-bmp-%s" type)))))
(defvar vc-svn-diff-switches)
- [elpa] master updated (c9c9f55 -> 8cec226), Dmitry Gutov, 2015/01/02
- [elpa] master c246d44 02/22: diff-hl-define-bitmaps: Handle text scaling and line spacing better, Dmitry Gutov, 2015/01/02
- [elpa] master ecc7fc3 03/22: diff-hl-fringe-bmp-from-type: Use `exclamation-mark',
Dmitry Gutov <=
- [elpa] master 03531f2 04/22: Add and use fringe faces specific to diff-hl-dired, Dmitry Gutov, 2015/01/02
- [elpa] master a6f3b89 05/22: diff-hl-dired: Highlight ignored files, Dmitry Gutov, 2015/01/02
- [elpa] master 27b3adb 06/22: Check if the original Dired buffer is still alive, Dmitry Gutov, 2015/01/02
- [elpa] master 50e88c2 07/22: Work around debbugs.gnu.org/18605, Dmitry Gutov, 2015/01/02
- [elpa] master 7466986 08/22: Update copyright year, Dmitry Gutov, 2015/01/02
- [elpa] master f2546ca 09/22: diff-hl-changes: Handle diffs where only file mode changed, Dmitry Gutov, 2015/01/02
- [elpa] master 58615cd 10/22: auto-revert-mode integration, Dmitry Gutov, 2015/01/02
- [elpa] master 8dd7d96 12/22: Don't error out when fringe is disabled, Dmitry Gutov, 2015/01/02
- [elpa] master ccaca25 11/22: Merge pull request #30 from sunesimonsen/master, Dmitry Gutov, 2015/01/02
- [elpa] master 9c5004e 13/22: diff-hl-dired-{unknown, ignored}: inherit from dired-ignored instead, Dmitry Gutov, 2015/01/02