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

Fix advice for elisp--company-doc-buffer #539

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

haji-ali
Copy link
Contributor

The advice radian--advice-company-elisp-use-helpful replaces (help-buffer) with (current-buffer) assuming that a helpful command will be called.

However, this is only true for functions and variables. If elisp--company-doc-buffer is called with a feature or a face, the current, unrelated, buffer is used when standard help-* commands are called, leading to the current buffer content being overwritten.

The change in the PR gets around that issue but not overriding help-buffer. The solution fixes the issue, but it still feels hacky and a better solution might be to patch elisp--company-doc-buffer instead.

@raxod502 raxod502 merged commit c6db1ea into radian-software:develop Oct 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants