Popping help buffers
Heime <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <anJXdVdHjh5yeNLr28J2AFrk3GD9bQIYOL3vOLAj1orir0I_I49ByEWRwHnBGY9EWnlcPCIXH_mUVOhaMPb6al8rNEF0k6rqD2r1L3Smkac=@protonmail.com> |
Is it recommended to pop the *Help* buffer to a frame with
(display-buffer-overriding-action
'((display-buffer-pop-up-frame)
(pop-up-frames . t)
(name . "[RDU] Quick Reference Display Unit")
(minibuffer . nil)))
Here is the command
(defun rdu-sbl (sbl)
"Show the full documentation of symbol SBL in a Quirk Reference
Frame Display Unit RDU.
SBL Symbol."
(interactive
(let ( (prompt (format "Describe Symbol [%s]: "
(or (symbol-name (symbol-at-point)) ""))) )
(list (completing-read prompt obarray #'fboundp t nil nil
(symbol-name (symbol-at-point))))))
(let* ( (sym (intern sbl))
(display-buffer-overriding-action
'((display-buffer-pop-up-frame)
(pop-up-frames . t)
(name . "[RDU] Quick Reference Display Unit")
(minibuffer . nil))) )
(describe-symbol sym)))