branch: master commit 8f5324b8ffc339ea84ebeed8c05edd135fe639bf Author: Lars Ingebrigtsen <la...@gnus.org> Commit: Lars Ingebrigtsen <la...@gnus.org>
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")