I want to know what happens if I click on a button (a link) in an Emacs buffer, so I type
C-h c (
describe-key-briefly) and click the button, but all I'm told is:
<mouse-2> (translated from <down-mouse-2> <mouse-2>) at that spot runs the command push-button
C-h k (
describe-key) shows me the documentation of
push-button, which is not what I'm after.
To find out what actually happens when I click, I need to perform the same lookup that
push-button does, and then look at its documentation rather than invoking the function. That is to say, look at the text's
mouse-action for a mouse click), and run
describe-function on that.
Is there a convenient way to do that? Ideally, I'd like
describe-key to show the description of the action in addition to (or even instead of) the description of