[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit cfe5a1260b: Silence compiler warning
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit cfe5a1260b: Silence compiler warning |
Date: |
Thu, 29 Sep 2022 06:58:38 -0400 (EDT) |
branch: elpa/git-commit
commit cfe5a1260bf19191adab837e90acc1004529a0c9
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Silence compiler warning
---
lisp/magit-section.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index cf0cbed4b2..08fa3294cc 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -422,7 +422,8 @@ Magit-Section is documented in info node `(magit-section)'."
(when (fboundp 'magit-section-context-menu)
(add-hook 'context-menu-functions #'magit-section-context-menu 10 t))
(when magit-section-disable-line-numbers
- (when (bound-and-true-p global-linum-mode)
+ (when (and (fboundp 'linum-mode)
+ (bound-and-true-p global-linum-mode))
(linum-mode -1))
(when (and (fboundp 'nlinum-mode)
(bound-and-true-p global-nlinum-mode))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/git-commit cfe5a1260b: Silence compiler warning,
ELPA Syncer <=