Considering the opinions expressed here and in https://lists.gnu.org/archive/html/emacs-devel/2020-03/msg00541.html I have reverted to defun and autoload the function instead to prevent having to load subr-x at runtime whenever gnus-sum is loaded, as it is currently only used there by `gnus-summary-browse-url'. Revised patch attached.