summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2010-09-03 21:43:43 +0200
committerJulien Danjou <julien@danjou.info>2010-09-03 21:43:43 +0200
commit23d5f984291d549b616683e8b5cbd147e96ca644 (patch)
treebdb3d576a5251d48977aa45e8d6bbb87c038d377
parent5dec2f5768602eca7264726e6473b2881dfdb542 (diff)
Add status in OfflineIMAP buffer
-rw-r--r--offlineimap.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/offlineimap.el b/offlineimap.el
index 864f965..a91a13d 100644
--- a/offlineimap.el
+++ b/offlineimap.el
@@ -45,7 +45,9 @@
:group 'offlineimap
:type 'integer)
-(defcustom offlineimap-enable-mode-line-p '(eq major-mode 'gnus-group-mode)
+(defcustom offlineimap-enable-mode-line-p '(member
+ major-mode
+ '(offlineimap-mode gnus-group-mode))
"Whether enable OfflineIMAP mode line status display.
This form is evaluated and its return value determines if the
OfflineIMAP status should be displayed in the mode line."