Browse Source

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.
Suvayu Ali 10 years ago
parent
commit
bd93c61084
1 changed files with 7 additions and 0 deletions
  1. 7 0
      contrib/lisp/org-notmuch.el

+ 7 - 0
contrib/lisp/org-notmuch.el

@@ -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