From 7465282e85937745f6ca3fb9108d7063fd915ef2 Mon Sep 17 00:00:00 2001 From: djcb Date: Mon, 6 Feb 2012 22:30:07 +0200 Subject: [PATCH] * mu4e-hdrs.el: display current query in mode-line (use `global-mode-string') --- emacs/mu4e-hdrs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/mu4e-hdrs.el b/emacs/mu4e-hdrs.el index ed329787..66b35212 100644 --- a/emacs/mu4e-hdrs.el +++ b/emacs/mu4e-hdrs.el @@ -57,6 +57,7 @@ results, otherwise, limit number of results to (erase-buffer) (mu4e-hdrs-mode) (setq + global-mode-string (propertize expr 'face 'mu4e-title-face) mu4e-last-expr expr mu4e-hdrs-buffer buf mode-name "mu4e-headers")) @@ -347,7 +348,8 @@ after the end of the search results." (make-local-variable 'mu4e-marks-map) (make-local-variable 'mu4e-msg-map) (make-local-variable 'mu4e-thread-info-map) - + (make-local-variable 'global-mode-string) + (setq mu4e-marks-map (make-hash-table :size 16 :rehash-size 2) mu4e-msg-map (make-hash-table :size 1024 :rehash-size 2 :weakness nil)