Documentation using Help buffer #504
-
|
Hi, When using corfu, showing documentation (at least of elisp symbols) via e.g. Is this intended? And if so, are there any workarounds for corfu not to use the Help buffer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Buffer creation is a matter of the backend. I don't think we can guard the existing buffers from being modified by the backend. Ideally the backends would return new and unique buffers. |
Beta Was this translation helpful? Give feedback.
Instead of using advice and
cl-letf, you could "fix" the offending CAPF usingcape-wrap-propertiesto wrap the CAPF's:company-doc-bufferproperty (likelyelisp--company-doc-bufferhere). In your wrapper function, you could let-bindhelp-xref-following=t, create and switch to a buffer with your desired name, put it intohelp-mode, then call the original:company-doc-bufferfunction.