diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-02-25 23:32:07 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-02-25 23:32:07 -0500 |
commit | 5d85587f5118ee2f6868fff65e0bed484cecc20b (patch) | |
tree | 025ba24419a41b19d4bd1a80b70209888abdf992 /lisp | |
parent | 113c91711af1f843e601e0dc543a2defd2fd2d57 (diff) | |
download | emacs.d-5d85587f5118ee2f6868fff65e0bed484cecc20b.tar.gz |
gnus-open-github-patch: Don't error on failed search
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/km-mail.el | 2 |
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) |