bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49166: Writing in help-buffer does not show in history


From: Basil L. Contovounesios
Subject: bug#49166: Writing in help-buffer does not show in history
Date: Tue, 22 Jun 2021 10:34:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

philip-agee@africamel.net writes:

> Have written the following function that inserts text in the
> help-buffer.
>
> Was curious to see whether the inserted text persist if one uses
> the buttons or commands in the Help Buffer that take you
> back/forth in the history of visited entries (you can invoke
> those commands with 'l' for left ('help-go-back') and 'r' for
> right ('help-go-forward')).
>
> It does not show in the history when using ('help-go-back').

These history commands rely on help-xref-stack being set up
appropriately, which is done with the function help-setup-xref.

See (info "(elisp) Help Functions") [0] and the linked
example in (info "(elisp) Accessing Documentation") [1]
(or look at the definitions of describe-function, etc.).

[0]: https://gnu.org/software/emacs/manual/html_node/elisp/Help-Functions.html
[1]: 
https://gnu.org/software/emacs/manual/html_node/elisp/Accessing-Documentation.html

HTH,

-- 
Basil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]