diff options
author | Tom Willemse | 2015-04-08 15:02:08 +0200 |
---|---|---|
committer | Tom Willemse | 2015-04-08 15:02:08 +0200 |
commit | 742577668ab5b23db2eec7c141c31ac6b69d9bb5 (patch) | |
tree | 27e58d119e0a6a8041c709c98602e201a4d2dedf /emacs/.emacs.d | |
parent | 5d9ad8a032bcad347fd9f8fe01b8f20b6a59624d (diff) | |
download | dotfiles-742577668ab5b23db2eec7c141c31ac6b69d9bb5.tar.gz dotfiles-742577668ab5b23db2eec7c141c31ac6b69d9bb5.zip |
Update awesome mail widget
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 1cc6469..09a81c7 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -164,11 +164,7 @@ MODE1 is enabled and vice-versa." "Update mailcount widget for GNUS-GROUP. But only if it is a maildir inbox." - (let ((name (and - (string-match "^nnmaildir\\+\\(.*\\):inbox$" gnus-group) - (match-string 1 gnus-group)))) - (when name - (awesome-send (format "mailwidgets.%s:set_mailcount()" name))))) + (awesome-send "mymailwidget:set_count()")) (defun awesome-update-current-mailbox () "Update mailcount widget for current gnus group." |