X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lisp%2Fgnus-kill.el;h=1d04718a3d2eed7cef6212186d10c892a685bb3a;hb=f3a99d16ed7a4da73bdb041131fd278e182b12ac;hp=73f8e169d4d40a87c0b4bc04352ce9c857f3a43f;hpb=688636e75e02be0a1c319f546ec388ed9ec10a85;p=elisp%2Fgnus.git- diff --git a/lisp/gnus-kill.el b/lisp/gnus-kill.el index 73f8e16..1d04718 100644 --- a/lisp/gnus-kill.el +++ b/lisp/gnus-kill.el @@ -27,7 +27,6 @@ ;;; Code: (eval-when-compile (require 'cl)) - (require 'gnus) (require 'gnus-art) (require 'gnus-range) @@ -282,7 +281,7 @@ If NEWSGROUP is nil, the global kill file is selected." (if (and gnus-current-kill-article (get-buffer gnus-summary-buffer)) ;; Assume newsgroup is selected. - (gnus-kill-file-apply-string (buffer-substring (point-min) (point-max))) + (gnus-kill-file-apply-string (buffer-string)) (ding) (gnus-message 2 "No newsgroup is selected."))) (defun gnus-kill-file-apply-string (string)