]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/gnus/gnus-bcklg.el (gnus-backlog-request-article): Fix thinko.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 7 Aug 2017 16:16:02 +0000 (12:16 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 7 Aug 2017 16:16:02 +0000 (12:16 -0400)
lisp/gnus/gnus-bcklg.el

index d85448e109f0288885ceb20fe8d3f52d6c4d09b7..ff8fcca61fa7d9ea2708324d380781b3fdc9e5e6 100644 (file)
            (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))))