tags 844375 + fixed-upstream
thanks

Hi Olaf,

> As of this morning's upgrade of org-mode to 9.0, org-mu4e no longer

Yes, this is known and fixed in upstream.

Can you try the attached patch and see if that helps? (Sorry, not using
org mode and mu4e, so I cannot really test it).

If the patch works I can make an intermediate release with this fixed,
but I really would like to see an upstream release ;-)

Thanks

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13    fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
diff --git a/mu4e/org-mu4e.el b/mu4e/org-mu4e.el
index cbb1697..4691614 100644
--- a/mu4e/org-mu4e.el
+++ b/mu4e/org-mu4e.el
@@ -117,16 +117,14 @@ Example usage:
                             :description (funcall org-mu4e-link-desc-func msg))
         link))))
 
-(org-add-link-type "mu4e" 'org-mu4e-open)
-(add-hook 'org-store-link-functions 'org-mu4e-store-link)
-
 ;; org-add-link-type is obsolete as of org-mode 9.
 ;; Instead we will use the org-link-set-parameters method
 (if (fboundp 'org-link-set-parameters)
     (org-link-set-parameters "mu4e"
 			     :follow #'org-mu4e-open
-			     :store #'org-mu4e-store-link))
-
+			     :store #'org-mu4e-store-link)
+  (org-add-link-type "mu4e" 'org-mu4e-open)
+  (add-hook 'org-store-link-functions 'org-mu4e-store-link))
 
 (defun org-mu4e-open (path)
   "Open the mu4e message (for paths starting with 'msgid:') or run

Reply via email to