emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [patch] Fix wanderlust in `org-store-link'


From: jemarch
Subject: [Orgmode] [patch] Fix wanderlust in `org-store-link'
Date: Sat, 06 Oct 2007 22:48:45 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (powerpc-unknown-linux-gnu) MULE/5.0 (SAKAKI)

Hello.

This tiny patch (against org version 5.10b, i didnt found a suitable
CVS repository to get non-released code) fixes `org-store-link' for
wanderlust summary mode. 

In both the latest wanderlust version (2.14.0) and in CVS wanderlust
the function `elmo-message-entity-field' do not return a list, but a
string containing the field contents.


2007-10-06  Jose E. Marchesi  <address@hidden>

        * org.el (org-store-link): Expect a string from the call to
        `elmo-message-entity-field' instead of a list.



--- org.el      2007-10-04 22:34:15.000000000 +0200
+++ org-foo.el  2007-10-06 22:44:10.000000000 +0200
@@ -10969,7 +10969,7 @@
                  (elmo-msgdb-overview-get-entity
                   msgnum (wl-summary-buffer-msgdb))))
             (from (wl-summary-line-from))
-            (to (car (elmo-message-entity-field wl-message-entity 'to)))
+            (to (elmo-message-entity-field wl-message-entity 'to))
             (subject (let (wl-thr-indent-string wl-parent-message-entity)
                        (wl-summary-line-subject))))
        (org-store-link-props :type "wl" :from from :to to




reply via email to

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