emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/anzu 26fb50b429 2/2: Merge pull request #127 from bcc32/fi


From: ELPA Syncer
Subject: [nongnu] elpa/anzu 26fb50b429 2/2: Merge pull request #127 from bcc32/fix-126
Date: Fri, 2 Feb 2024 00:59:14 -0500 (EST)

branch: elpa/anzu
commit 26fb50b429ee968eb944b0615dd0aed1dd66172c
Merge: 4700615ebe 14c0f78af4
Author: StrawberryTea <look@strawberrytea.xyz>
Commit: GitHub <noreply@github.com>

    Merge pull request #127 from bcc32/fix-126
    
    Do not cons anzu mode line construct onto non-list mode line
---
 anzu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anzu.el b/anzu.el
index a1894aa80b..e0c834b5f2 100644
--- a/anzu.el
+++ b/anzu.el
@@ -267,7 +267,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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]