This is dim, but I've forgotten how to do this, and I can't work it out, sorry:
I'm in python mode with elpy, and I want to run the function
python-nav-beginning-of-defun
in a python buffer, to see what it does
M-x python-nav-beginning-of-defun
won't work, because the function is not a command (it has no interactive
spec).
And putting (python-nav-beginning-of-defun)
in a buffer and using C-x C-e
will disturb the buffer and move the point.
I seem to remember that there's some way that I can type (python-nav-beginning-of-defun)
in a mini-buffer somewhere, and see what it does to the python buffer, without disturbing the buffer.
Can anyone tell me what it's called / what the magic keys are?