Merge branch 'djcb:master' into feature/improve-window-buffer-handling

This commit is contained in:
Mickey Petersen
2022-12-01 07:35:30 +00:00
committed by GitHub

View File

@ -430,6 +430,7 @@ If there is not e-mail address at point, do nothing."
(interactive)
(let* ((thing (and (thing-at-point 'email)
(string-trim (thing-at-point 'email 'no-props) "<" ">")))
(thing (or thing (get-text-property (point) 'shr-url)))
(thing (or thing (thing-at-point 'url 'no-props))))
(when thing
(kill-new thing)