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

Pass imenu item to counsel-imenu instead of position #2971

Closed

Conversation

dalanicolai
Copy link

This PR implements a tiny correction to counsel-imenu-action

The imenu function expects an imenu item, not a position. The imenu function
will then correctly use the 'imenu-default-goto-function' to jump to the correct
position (could also be e.g. some page-number in doc-view).

The imenu function expects an imenu item, not a position. The imenu function
will then correctly use the 'imenu-default-goto-function' to jump to the correct
position (e.g. to some page-number in doc-view).
@dalanicolai
Copy link
Author

Ah, although it seemed to work (at least for my doc-view imenu function), this 'fix' does not seem to work in general.
I will open an issue instead.

@dalanicolai dalanicolai closed this May 7, 2022
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

Successfully merging this pull request may close these issues.

1 participant