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

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

bug#53956: 27.1; Make xref--current-item public


From: Felician Nemeth
Subject: bug#53956: 27.1; Make xref--current-item public
Date: Sat, 12 Feb 2022 13:45:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Severity: wishlist
thanks

Dmitry answered (to my question) in
https://github.com/joaotavora/eglot/pull/832#issuecomment-1031019256 :

> > An xref-after-jump-hook processes the last selected item
> > (xref--current-item) and gives an option to the user to execute the
> > selected command. However, xref--current-item is private. @dgutov,
> > is there another way (an api call) to get the selected xref-item?
> 
> Nope, never considered that the value would be interesting for
> extensions. You can refer to this name, but it's probably a good idea
> to rename it (with a compatibility alias, I guess). We can move this
> to the bug tracker.





reply via email to

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