summaryrefslogtreecommitdiff
path: root/lisp/gnus
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2017-08-07 12:16:02 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2017-08-07 12:16:02 -0400
commit2d76cf947972ed95519cbb7c2141ed2f414d7179 (patch)
tree8bc0fc35ceb41c413f4f0c5626e8a9a94ee964ad /lisp/gnus
parentb6b362c91016473eec97feb3dbb6e0448d48b88e (diff)
downloademacs-2d76cf947972ed95519cbb7c2141ed2f414d7179.tar.gz
* lisp/gnus/gnus-bcklg.el (gnus-backlog-request-article): Fix thinko.
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/gnus-bcklg.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-bcklg.el b/lisp/gnus/gnus-bcklg.el
index d85448e109f..ff8fcca61fa 100644
--- a/lisp/gnus/gnus-bcklg.el
+++ b/lisp/gnus/gnus-bcklg.el
@@ -144,8 +144,8 @@
(setq end
(next-single-property-change
(1+ beg) 'gnus-backlog (current-buffer) (point-max)))))
- (with-current-buffer (or (current-buffer) buffer)
- (let ((buffer-read-only nil))
+ (with-current-buffer (or buffer (current-buffer))
+ (let ((inhibit-read-only t))
(erase-buffer)
(insert-buffer-substring gnus-backlog-buffer beg end)))
t))))