summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-mail.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/km-mail.el b/lisp/km-mail.el
index 7bc462f..c23ff26 100644
--- a/lisp/km-mail.el
+++ b/lisp/km-mail.el
@@ -124,6 +124,12 @@ argument FOLLOW, follow link instead of copying it."
(km/gnus-summary-set-current-article)
(km/open-github-patch gnus-original-article-buffer))
+(defun km/notmuch-show-open-github-patch ()
+ "Open patch from GitHub email."
+ (interactive)
+ (with-current-notmuch-show-message
+ (km/mail-open-github-patch (current-buffer))))
+
(defun km/gnus-summary-catchup (&optional no-next)
"Mark all articles as read.
Don't ask for confirmation. With prefix argument NO-NEXT, exit