Commit 71f32295 authored by Julien Danjou's avatar Julien Danjou Committed by Katsumi Yamaoka
Browse files

gnus-art.el (gnus-kill-sticky-article-buffers): Reintroduce

parent 57ec3034
2012-07-25 Julien Danjou <>
* gnus-art.el (gnus-kill-sticky-article-buffers): Reintroduce.
2012-07-25 Katsumi Yamaoka <>
* nnimap.el (nnimap-get-responses): Don't remove, still used.
......@@ -4775,6 +4775,18 @@ If none is given, assume the current buffer and kill it if it has
(when (eq major-mode 'gnus-sticky-article-mode)
(gnus-kill-buffer buffer))))
(defun gnus-kill-sticky-article-buffers (arg)
"Kill all sticky article buffers.
If a prefix ARG is given, ask for confirmation."
(interactive "P")
(dolist (buf (gnus-buffers))
(with-current-buffer buf
(when (eq major-mode 'gnus-sticky-article-mode)
(if (not arg)
(gnus-kill-buffer buf)
(when (yes-or-no-p (concat "Kill buffer " (buffer-name buf) "? "))
(gnus-kill-buffer buf)))))))
;;; Gnus MIME viewing functions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment