(gnus-wheel-summary-scroll): Bind `inhibit-read-only' to t; bind
authorueno <ueno>
Fri, 20 Aug 1999 09:57:56 +0000 (09:57 +0000)
committerueno <ueno>
Fri, 20 Aug 1999 09:57:56 +0000 (09:57 +0000)
`buffer-read-only' to nil.

lisp/gnus-sum.el

index 70f2d7c..17d38b4 100644 (file)
@@ -9560,12 +9560,14 @@ treated as multipart/mixed."
                       (setq edge (* edge direction))
                     (setq edge -1))
                   (or (plusp edge)
-                      (progn
+                      (let ((buffer-read-only nil)
+                            (inhibit-read-only t))
                         (put-text-property (point-min) (point-max)
                                            'gnus-wheel-edge direction)
                         nil))
                   (or (> edge gnus-wheel-edge-resistance)
-                      (progn
+                      (let ((buffer-read-only nil)
+                            (inhibit-read-only t))
                         (put-text-property (point-min) (point-max)
                                            'gnus-wheel-edge
                                            (* (1+ edge) direction))