This avoids stomping over other functions that use this for other
things.
'gnus-button-push from)
(gnus-put-text-property
start end
- 'gnus-data (buffer-substring-no-properties
- start end))))))))))
+ 'gnus-string (buffer-substring-no-properties
+ start end))))))))))
(defun gnus-article-extend-url-button (beg start end)
"Extend url button if url is folded into two or more lines.
"Copy the string in the button to the kill ring."
(interactive)
(gnus-article-check-buffer)
- (let ((data (get-text-property (point) 'gnus-data)))
+ (let ((data (get-text-property (point) 'gnus-string)))
(when data
(with-temp-buffer
(insert data)
(let ((overlay (gnus-make-overlay start end)))
(gnus-overlay-put overlay 'evaporate t)
(gnus-overlay-put overlay 'gnus-button-url url)
+ (gnus-put-text-property start end 'gnus-string url)
(when gnus-article-mouse-face
(gnus-overlay-put overlay 'mouse-face gnus-article-mouse-face)))))
;; The upper-case IMG_ALT is apparently just an artifact that