[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/diff-hl 514c027 1/2: fix diff-hl-set-reference-rev when
From: |
ELPA Syncer |
Subject: |
[elpa] externals/diff-hl 514c027 1/2: fix diff-hl-set-reference-rev when diff-hl-amend-mode is not loaded |
Date: |
Wed, 13 Jan 2021 14:57:08 -0500 (EST) |
branch: externals/diff-hl
commit 514c027d6c5c06f84d44a15d0cc597e54eeba061
Author: AmaiKinono <amaikinono@gmail.com>
Commit: AmaiKinono <amaikinono@gmail.com>
fix diff-hl-set-reference-rev when diff-hl-amend-mode is not loaded
---
diff-hl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diff-hl.el b/diff-hl.el
index bf82254..47ee59e 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -732,7 +732,7 @@ effect."
(dolist (buf (buffer-list))
(with-current-buffer buf
(when diff-hl-mode
- (when diff-hl-amend-mode
+ (when (bound-and-true-p diff-hl-amend-mode)
(diff-hl-amend-mode -1))
(diff-hl-update)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/diff-hl 514c027 1/2: fix diff-hl-set-reference-rev when diff-hl-amend-mode is not loaded,
ELPA Syncer <=