The following function shows the documentation in a new frame. But it also shows the buffer storing the code. How can I show only the documentation, so the documentation fills the whole frame?
(defun qdesc (function) "Show the documentation for FUNCTION in a new Emacs frame." (interactive (list (function-called-at-point))) (let ( (help-frame (make-frame '((name . "Help") (minibuffer . nil) (width . 80) (height . 20)))) ) (with-selected-frame help-frame (describe-function function))))