Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook when jumping from a helpful buffer #284

Open
woolsweater opened this issue Feb 27, 2022 · 1 comment
Open

Hook when jumping from a helpful buffer #284

woolsweater opened this issue Feb 27, 2022 · 1 comment

Comments

@woolsweater
Copy link

Would you consider adding a hook that's run after helpful navigation? I think helpful-visit-reference and helpful--navigate would be the two places to add it.

My use case: I like to activate read-only mode when jumping to Elisp source that's not mine. So for example I have a hook for find-func. And similarly for xref jumps.

It would be great to also be able to do this from helpful.

@farynaio
Copy link

Would you consider adding a hook that's run after helpful navigation? I think helpful-visit-reference and helpful--navigate would be the two places to add it.

My use case: I like to activate read-only mode when jumping to Elisp source that's not mine. So for example I have a hook for find-func. And similarly for xref jumps.

It would be great to also be able to do this from helpful.

https://gist.github.com/adamWithF/f9d60dab0ad5fbb1cd13a1129c862e9b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants