summaryrefslogtreecommitdiff
path: root/lisp/gnus/spam-stat.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/spam-stat.el')
-rw-r--r--lisp/gnus/spam-stat.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/spam-stat.el b/lisp/gnus/spam-stat.el
index 8a4161e7acd..2681185000c 100644
--- a/lisp/gnus/spam-stat.el
+++ b/lisp/gnus/spam-stat.el
@@ -234,7 +234,7 @@ This is set by hooking into Gnus.")
(defun spam-stat-store-current-buffer ()
"Store a copy of the current buffer in `spam-stat-buffer'."
(let ((buf (current-buffer)))
- (with-current-buffer (get-buffer-create spam-stat-buffer-name)
+ (with-current-buffer (gnus-get-buffer-create spam-stat-buffer-name)
(erase-buffer)
(insert-buffer-substring buf)
(setq spam-stat-buffer (current-buffer)))))