[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 09b9354 12/25: Add a variable for the diff-hl-mode lighter
From: |
Dmitry Gutov |
Subject: |
[elpa] master 09b9354 12/25: Add a variable for the diff-hl-mode lighter |
Date: |
Sat, 8 Dec 2018 19:19:38 -0500 (EST) |
branch: master
commit 09b9354a8e703d24c132ee08d6c92eee1421fbd9
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Add a variable for the diff-hl-mode lighter
#64
---
diff-hl.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/diff-hl.el b/diff-hl.el
index 5f45e02..d882eb1 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -470,11 +470,18 @@ in the source file, or the last line of the hunk above
it."
map))
(fset 'diff-hl-command-map diff-hl-command-map)
+(defvar diff-hl-lighter ""
+ "Mode line lighter for Diff Hl.
+
+The value of this variable is a mode line template as in
+`mode-line-format'.")
+
;;;###autoload
(define-minor-mode diff-hl-mode
"Toggle VC diff highlighting."
- :lighter "" :keymap `(([remap vc-diff] . diff-hl-diff-goto-hunk)
- (,diff-hl-command-prefix . diff-hl-command-map))
+ :lighter diff-hl-lighter
+ :keymap `(([remap vc-diff] . diff-hl-diff-goto-hunk)
+ (,diff-hl-command-prefix . diff-hl-command-map))
(if diff-hl-mode
(progn
(diff-hl-maybe-define-bitmaps)
- [elpa] master 0c8bf49 02/25: New option: diff-hl-margin-symbols-alist, (continued)
- [elpa] master 0c8bf49 02/25: New option: diff-hl-margin-symbols-alist, Dmitry Gutov, 2018/12/08
- [elpa] master 1f864d6 03/25: Fix revert prompt, Dmitry Gutov, 2018/12/08
- [elpa] master f8ce39d 01/25: Solve the "cloned indirect buffer" problem, Dmitry Gutov, 2018/12/08
- [elpa] master fa74f2f 04/25: Merge pull request #80 from ryuslash/master, Dmitry Gutov, 2018/12/08
- [elpa] master 6a09f77 06/25: Merge pull request #81 from Wilfred/user_error_no_hunks, Dmitry Gutov, 2018/12/08
- [elpa] master 04c3b01 05/25: Use `user-error' when we can't proceed., Dmitry Gutov, 2018/12/08
- [elpa] master c476e40 07/25: Update the Requirements section, Dmitry Gutov, 2018/12/08
- [elpa] master 8dab389 09/25: Add separate set of faces for diff-hl-margin-mode, Dmitry Gutov, 2018/12/08
- [elpa] master 1d672dd 11/25: Clarify diff-hl-flydiff-mode docstring, Dmitry Gutov, 2018/12/08
- [elpa] master 3e9d264 08/25: Clean up diff-hl-dired process buffers, Dmitry Gutov, 2018/12/08
- [elpa] master 09b9354 12/25: Add a variable for the diff-hl-mode lighter,
Dmitry Gutov <=
- [elpa] master bec9889 13/25: Define diff-hl-margin-unknown and diff-hl-margin-ignored, Dmitry Gutov, 2018/12/08
- [elpa] master f0b945a 14/25: Don't call vc-state unless the file exists, Dmitry Gutov, 2018/12/08
- [elpa] master ce93571 19/25: Add some FIXMEs related to #71, Dmitry Gutov, 2018/12/08
- [elpa] master 9ef21e4 15/25: Merge pull request #93 from Wilfred/handle_file_move, Dmitry Gutov, 2018/12/08
- [elpa] master 027b0d2 20/25: diff-hl-revert-hunk: Emphasize the hunk, Dmitry Gutov, 2018/12/08
- [elpa] master 069a925 24/25: Bump the version, Dmitry Gutov, 2018/12/08
- [elpa] master a626bf8 23/25: Merge pull request #109 from edkolev/revert-hunk-in-narrowed-buffer, Dmitry Gutov, 2018/12/08
- [elpa] master a48699f 21/25: #111 Extract diff-hl-highlight-revert-hunk-function, Dmitry Gutov, 2018/12/08
- [elpa] master 154c64a 18/25: Merge pull request #105 from phst/license, Dmitry Gutov, 2018/12/08
- [elpa] master 63f1687 10/25: diff-hl-dired-update: Handle up-to-date entries properly, Dmitry Gutov, 2018/12/08