emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Link to MH-E message that has been refiled


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Link to MH-E message that has been refiled
Date: Fri, 13 Jun 2008 23:13:42 +0200

Applied, thanks.

- Carsten

On Jun 13, 2008, at 8:47 PM, Thomas Baumann wrote:

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.


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]