I'm trying to add additional contextual help information to describe-function
, describe-variable
etc, and I notice that describe-symbol
has the option to take a buffer as a parameter.
When I try (describe-symbol 'variable (get-buffer-create "buffer name"))
the usual help buffers are used.
describe-symbol is an autoloaded interactive compiled Lisp function in ‘help-fns.el’.
It is bound to C-h o, o, o.
(describe-symbol SYMBOL &optional BUFFER FRAME)
Probably introduced at or before Emacs version 25.1.
Display the full documentation of SYMBOL. Will show the info of SYMBOL as a function, variable, and/or face. Optional arguments BUFFER and FRAME specify for which buffer and frame to show the information about SYMBOL; they default to the current buffer and the selected frame, respectively.
Is that a bug in the describe-symbol
implementation?
I'm on Emacs 27.
for which buffer and frame
distinction? Are there some special buffers that the info is displayed in? – vfclists Jul 28 '22 at 15:02for which buffer and frame
means about which buffer and frame. As @phils said in his answer,BUFFER
here is about describing the use of theSYMBOL
in the givenBUFFER
. – Drew Jul 28 '22 at 15:15