aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/gnus-group.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index f42f7989533..3de26094572 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2448,7 +2448,11 @@ the bug number, and browsing the URL must return mbox output."
2448 (with-temp-file tmpfile 2448 (with-temp-file tmpfile
2449 (mm-disable-multibyte) 2449 (mm-disable-multibyte)
2450 (dolist (id ids) 2450 (dolist (id ids)
2451 (url-insert-file-contents (format mbox-url id))) 2451 (let ((file (format "~/.emacs.d/debbugs-cache/%s" id)))
2452 (if (and (not gnus-plugged)
2453 (file-exists-p file))
2454 (insert-file-contents file)
2455 (url-insert-file-contents (format mbox-url id)))))
2452 (goto-char (point-min)) 2456 (goto-char (point-min))
2453 ;; Add the debbugs address so that we can respond to reports easily. 2457 ;; Add the debbugs address so that we can respond to reports easily.
2454 (while (re-search-forward "^To: " nil t) 2458 (while (re-search-forward "^To: " nil t)