summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
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)