summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/km-gnus.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/km-gnus.el b/init/km-gnus.el
index bed321b..c226a12 100644
--- a/init/km-gnus.el
+++ b/init/km-gnus.el
@@ -110,7 +110,7 @@ A new buffer with the patch contents is opened in another window."
(km/gnus-end-of-article-buffer)
(search-backward "patch")
(let ((url (thing-at-point 'url))
- (patch-buffer (get-buffer-create "*gnus-github-patch*")))
+ (patch-buffer (generate-new-buffer "*gnus-github-patch*")))
(switch-to-buffer-other-window patch-buffer)
(url-insert-file-contents url)
(diff-mode)