[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 14c0f78af4 1/2: Do not cons anzu mode line construct
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 14c0f78af4 1/2: Do not cons anzu mode line construct onto non-list mode line |
Date: |
Fri, 2 Feb 2024 00:59:14 -0500 (EST) |
branch: elpa/anzu
commit 14c0f78af46acb37b1ced3392d8a5224bb4fd3b3
Author: Aaron L. Zeng <me@bcc32.com>
Commit: Aaron L. Zeng <me@bcc32.com>
Do not cons anzu mode line construct onto non-list mode line
Fix #126.
---
anzu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index 4601873648..fa06306c9e 100644
--- a/anzu.el
+++ b/anzu.el
@@ -266,7 +266,7 @@
(defun anzu--cons-mode-line (state)
(setq anzu--state state)
- (when (and anzu-cons-mode-line-p (not (anzu--mode-line-not-set-p)))
+ (when (and anzu-cons-mode-line-p (listp mode-line-format) (not
(anzu--mode-line-not-set-p)))
(setq mode-line-format (cons anzu--mode-line-format mode-line-format))))
(defsubst anzu--reset-status ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/anzu 14c0f78af4 1/2: Do not cons anzu mode line construct onto non-list mode line,
ELPA Syncer <=