'gnus-undeletable t))))
;; We're in the article header.
(delete-char -1)
- (dolist (ovl (overlays-in btn (point)))
+ (let ((ovl (make-overlay btn (point))))
(overlay-put ovl 'gnus-button-attachment-extra t)
- (overlay-put ovl 'face nil))
+ (overlay-put ovl 'evaporate t))
(save-restriction
(message-narrow-to-field)
(let ((gnus-treatment-function-alist
'gnus-undeletable t))))
;; We're in the article header.
(delete-char -1)
- (dolist (ovl (overlays-in point (point)))
+ (let ((ovl (make-overlay point (point))))
(overlay-put ovl 'gnus-button-attachment-extra t)
- (overlay-put ovl 'face nil))
+ (overlay-put ovl 'evaporate t))
(save-restriction
(message-narrow-to-field)
(let ((gnus-treatment-function-alist
(insert "\n")
(end-of-line)))
(insert "\n")
- (dolist (ovl (overlays-in (point-min) (point)))
+ (let ((ovl (make-overlay (point-min) (point))))
(overlay-put ovl 'gnus-button-attachment-extra t)
- (overlay-put ovl 'face nil))
+ (overlay-put ovl 'evaporate t))
(let ((gnus-treatment-function-alist
'((gnus-treat-highlight-headers
gnus-article-highlight-headers))))