contrib/lisp/org-notmuch.el: new notmuch open function

* contrib/lisp/org-notmuch.el: org-notmuch-tree-follow-link: New function,
  can be used to follow notmuch or notmuch-search links.
This commit is contained in:
Suvayu Ali 2014-07-16 18:17:56 +02:00 committed by Bastien Guerry
parent e6f2e8fe88
commit bd93c61084

View file

@ -121,6 +121,13 @@ Can link to more than one message, if so all matching messages are shown."
(require 'notmuch)
(notmuch-search (org-link-unescape search)))
(defun org-notmuch-tree-follow-link (search)
"Follow a notmuch link by displaying SEARCH in notmuch-tree mode."
(require 'notmuch)
(notmuch-tree (org-link-unescape search)))
(provide 'org-notmuch)
;;; org-notmuch.el ends here