[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Link to MH-E message that has been refiled
From: |
Thomas Baumann |
Subject: |
[Orgmode] Re: Link to MH-E message that has been refiled |
Date: |
Fri, 13 Jun 2008 20:47:01 +0200 |
and there's a bug with org-mhe-get-message-folder-from-index returning
"nil" instead of nil
fixed with the patch below
diff --git a/lisp/org-mhe.el b/lisp/org-mhe.el
index eb2c9ab..7f0d7f4 100644
--- a/lisp/org-mhe.el
+++ b/lisp/org-mhe.el
@@ -141,8 +141,8 @@ So if you use sequences, it will now work."
"Return the name of the message folder in a index folder buffer."
(save-excursion
(mh-index-previous-folder)
- (re-search-forward "^\\(+.*\\)$" nil t)
- (message "%s" (match-string 1))))
+ (if (re-search-forward "^\\(+.*\\)$" nil t)
+ (message "%s" (match-string 1)))))
(defun org-mhe-get-message-folder ()
"Return the name of the current message folder.
- [Orgmode] Re: Link to MH-E message that has been refiled,
Thomas Baumann <=