From e0f7c4b05efd212acc8e4ae0d43e314d74a4caaa Mon Sep 17 00:00:00 2001 From: Cheong Yiu Fung Date: Fri, 21 Sep 2018 11:55:58 +0800 Subject: [PATCH] org-mu4e: fix org-mu4e-store-and-capture for Org 9.0 As discussed in #947, links need to be redefined for Org 9. This is fixed in [b885dd3](https://github.com/djcb/mu/commit/b885dd308eaf5255514ff6f3c09d5ef894696398). At the same time, `org-mu4e-store-and-capture` is still using `org-mu4e-store-link` only, so it doesn't work in Org 9. Fix it by interactively calling `org-store-link` instead. --- mu4e/org-mu4e.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/org-mu4e.el b/mu4e/org-mu4e.el index 81080d7d..b169f9d6 100644 --- a/mu4e/org-mu4e.el +++ b/mu4e/org-mu4e.el @@ -138,7 +138,7 @@ the query (for paths starting with 'query:')." `org-mu4e-link-query-in-headers-mode', and capture it with org-mode)." (interactive) - (org-mu4e-store-link) + (call-interactively 'org-store-link) (org-capture))