summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-02-25 23:32:07 -0500
committerKyle Meyer <kyle@kyleam.com>2017-02-25 23:32:07 -0500
commit5d85587f5118ee2f6868fff65e0bed484cecc20b (patch)
tree025ba24419a41b19d4bd1a80b70209888abdf992 /lisp
parent113c91711af1f843e601e0dc543a2defd2fd2d57 (diff)
downloademacs.d-5d85587f5118ee2f6868fff65e0bed484cecc20b.tar.gz
gnus-open-github-patch: Don't error on failed search
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-mail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/km-mail.el b/lisp/km-mail.el
index 45cdc3b..8fa0cfb 100644
--- a/lisp/km-mail.el
+++ b/lisp/km-mail.el
@@ -112,7 +112,7 @@ A new buffer with the patch contents is opened in another window."
(with-current-buffer gnus-original-article-buffer
(save-excursion
(goto-char (point-min))
- (if (re-search-forward "https://github.com/.*\\.patch")
+ (if (re-search-forward "https://github.com/.*\\.patch" nil t)
(setq url (match-string-no-properties 0))
(user-error "No patch found"))))
(with-current-buffer (get-buffer-create bufname)