[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 8f5324b: Remove usages of the gnus-with-article-buffer mac
From: |
Lars Ingebrigtsen |
Subject: |
[elpa] master 8f5324b: Remove usages of the gnus-with-article-buffer macro |
Date: |
Mon, 25 Jul 2016 18:53:15 +0000 (UTC) |
branch: master
commit 8f5324b8ffc339ea84ebeed8c05edd135fe639bf
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Remove usages of the gnus-with-article-buffer macro
This avoids compilation problems.
---
packages/debbugs/debbugs-gnu.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 96b0f3a..b4df37c 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/debbugs-gnu.el
@@ -153,7 +153,6 @@
(autoload 'gnus-summary-article-header "gnus-sum")
(autoload 'gnus-summary-select-article "gnus-sum")
(autoload 'gnus-summary-show-article "gnus-sum")
-(autoload 'gnus-with-article-buffer "gnus-art")
(autoload 'log-edit-insert-changelog "log-edit")
(autoload 'mail-header-subject "nnheader")
(autoload 'message-goto-body "message")
@@ -1616,7 +1615,7 @@ If given a prefix, patch in the branch directory instead."
(gnus-summary-select-article nil t)
;; The patches are either in MIME attachements or the main article
;; buffer. Determine which.
- (gnus-with-article-buffer
+ (with-current-buffer gnus-article-buffer
(dolist (handle (mapcar 'cdr (gnus-article-mime-handles)))
(when
(string-match "diff\\|patch\\|plain" (mm-handle-media-type handle))
@@ -1727,7 +1726,7 @@ If given a prefix, patch in the branch directory instead."
(interactive)
(let (from subject patch-subject changelog
patch-from)
- (gnus-with-article-buffer
+ (with-current-buffer gnus-article-buffer
(widen)
(goto-char (point-min))
(setq from (gnus-fetch-field "from")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master 8f5324b: Remove usages of the gnus-with-article-buffer macro,
Lars Ingebrigtsen <=