I'm trying to make Emacs position definitions of functions and variables in Emacs Lisp source code on the top line of buffer, instead of on the center line, after looking them up from an Help buffer.
I mean: after looking up a function by means of `describe-function', you get an Help buffer and if such function has been defined in an Emacs Lisp source file, you are offered the choice to press RET on such file's name and be taken to that function's definition. However, such definition will be positioned on the center line of the screen, while I'd like it to be positioned on the top line, to view more of its implementation.
I tried to look up what function I could have adviced. describe-mode' for Help said RET was bound tohelp-follow' and I was ready to advice such function, but looking at its definition it was just a place-holder I think:
(defun help-follow ()
"Follow cross-reference at point.
For the cross-reference format, see `help-make-xrefs'."
(interactive)
(error "No cross-reference here"))
Any help? I'm using Viper+Vimpulse, I don't know whether that changes anything.
Thank you.