diff options
| -rw-r--r-- | lisp/gnus/gnus-group.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 4a41c495900..56d42b41a82 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -2373,7 +2373,10 @@ specified by `gnus-gmane-group-download-format'." | |||
| 2373 | (with-temp-file tmpfile | 2373 | (with-temp-file tmpfile |
| 2374 | (url-insert-file-contents | 2374 | (url-insert-file-contents |
| 2375 | (format gnus-gmane-group-download-format | 2375 | (format gnus-gmane-group-download-format |
| 2376 | group start (+ start range))) | 2376 | group start (+ start range)) |
| 2377 | t) | ||
| 2378 | ;; `url-insert-file-contents' sets this because of the 2nd arg. | ||
| 2379 | (setq buffer-file-name nil) | ||
| 2377 | (write-region (point-min) (point-max) tmpfile) | 2380 | (write-region (point-min) (point-max) tmpfile) |
| 2378 | (gnus-group-read-ephemeral-group | 2381 | (gnus-group-read-ephemeral-group |
| 2379 | (format "nndoc+ephemeral:%s.start-%s.range-%s" group start range) | 2382 | (format "nndoc+ephemeral:%s.start-%s.range-%s" group start range) |
| @@ -2463,7 +2466,7 @@ the bug number, and browsing the URL must return mbox output." | |||
| 2463 | (if (and (not gnus-plugged) | 2466 | (if (and (not gnus-plugged) |
| 2464 | (file-exists-p file)) | 2467 | (file-exists-p file)) |
| 2465 | (insert-file-contents file) | 2468 | (insert-file-contents file) |
| 2466 | (url-insert-file-contents (format mbox-url id))))) | 2469 | (url-insert-file-contents (format mbox-url id) t)))) |
| 2467 | ;; Add the debbugs address so that we can respond to reports easily. | 2470 | ;; Add the debbugs address so that we can respond to reports easily. |
| 2468 | (let ((address | 2471 | (let ((address |
| 2469 | (format "%s@%s" (car ids) | 2472 | (format "%s@%s" (car ids) |
| @@ -2488,7 +2491,9 @@ the bug number, and browsing the URL must return mbox output." | |||
| 2488 | (insert ", " address)) | 2491 | (insert ", " address)) |
| 2489 | (insert "To: " address "\n"))) | 2492 | (insert "To: " address "\n"))) |
| 2490 | (goto-char (point-max)) | 2493 | (goto-char (point-max)) |
| 2491 | (widen))))) | 2494 | (widen))) |
| 2495 | ;; `url-insert-file-contents' sets this because of the 2nd arg. | ||
| 2496 | (setq buffer-file-name nil))) | ||
| 2492 | (gnus-group-read-ephemeral-group | 2497 | (gnus-group-read-ephemeral-group |
| 2493 | (format "nndoc+ephemeral:bug#%s" | 2498 | (format "nndoc+ephemeral:bug#%s" |
| 2494 | (mapconcat 'number-to-string ids ",")) | 2499 | (mapconcat 'number-to-string ids ",")) |