summaryrefslogtreecommitdiffhomepage
path: root/net
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2020-12-30 05:20:34 +0000
committerjao <jao@gnu.org>2020-12-30 05:20:34 +0000
commit02a28ae4aa5b5d77e7d2ff4fdf6766ee566e773d (patch)
tree403c017157f42339a3f41079b026df63364e76d0 /net
parent1fac59fb097af2bd6dc74f5000822fc0e5af3c13 (diff)
downloadelibs-02a28ae4aa5b5d77e7d2ff4fdf6766ee566e773d.tar.gz
elibs-02a28ae4aa5b5d77e7d2ff4fdf6766ee566e773d.tar.bz2
jao-minibuffer: ordering for displayed entries
Diffstat (limited to 'net')
-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))