(unless (bound-and-true-p cursor-sensor-mode)
(cursor-sensor-mode 1))
(gnus-put-text-property beg end 'cursor-sensor-functions
- #'gnus-tool-bar-update))
+ '(gnus-tool-bar-update)))
(gnus-put-text-property beg end 'point-entered
#'gnus-tool-bar-update)
(gnus-put-text-property beg end 'point-left
(goto-char (setq beg (point-max)))
(save-excursion
(save-restriction
+ ;; FIXME: We save excursion and restriction in "*gnus-uu-body*",
+ ;; only to immediately move to another buffer? And we narrow in
+ ;; that buffer without save-restriction? And we finish the
+ ;; save-restriction with a call to `widen'? How can that
+ ;; make sense?
(set-buffer buffer)
- (let (buffer-read-only)
+ (let ((inhibit-read-only t))
(set-text-properties (point-min) (point-max) nil)
;; These two are necessary for XEmacs 19.12 fascism.
(put-text-property (point-min) (point-max) 'invisible nil)