summaryrefslogtreecommitdiffhomepage
path: root/net/jao-maildir.el
diff options
context:
space:
mode:
Diffstat (limited to 'net/jao-maildir.el')
-rw-r--r--net/jao-maildir.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/jao-maildir.el b/net/jao-maildir.el
index 05cfc2d..ec6ac28 100644
--- a/net/jao-maildir.el
+++ b/net/jao-maildir.el
@@ -144,8 +144,8 @@
(jao-maildir--set-trackers maildirs trackers)
(cond ((eq 'mode-line mode-line)
(add-to-list 'global-mode-string 'jao-maildir-info-string t))
- ((eq 'minibuffer mode-line)
- (jao-minibuffer-add-variable 'jao-maildir-info-string)
+ ((numberp mode-line)
+ (jao-minibuffer-add-variable 'jao-maildir-info-string mode-line)
(jao-maildir-update-info-string t))
(t (error "Invalid mode-line value")))
(jao-maildir--setup-watches cb))