Created
October 9, 2013 06:16
-
-
Save wunki/6896949 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun wunki-folder-for-account (folder) | |
"Returns the correct folder for this account" | |
(lambda (msg) | |
(if msg | |
(let ((account (nth 1 (split-string (mu4e-message-field msg :maildir) "/")))) | |
(format "%s/%s" account folder))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment