Closed stepnem closed 4 years ago
I think copy is potentially useful. It may be very rare that it would be useful, but I would rather it work. Maybe there's a better way, but (plist-get (cdr (get-char-property (point) 'button)) :tag)
works for me.
Was having issues with checking out the branch with forge/magit. Cherry picked and added my suggestion.
Customize widgets have no category property, so `button-at' doesn't work.
This also removes the :copy action. Maybe we could find a way to keep it, but I couldn't really think of any use case, and in any case the ability to invoke the widget actions is certainly more important than treating them as text, whatever that was supposed to do.