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

counsel.el (counsel-org-goto--get-headlines): Fix point-min bug #1011

Merged

Commits on May 17, 2017

  1. counsel.el (counsel-org-goto--get-headlines): Fix point-min bug

    outline-next-heading was always called once before starting the
    processing of the headlines, which resulted in the first headline to
    be excluded from the list if it was located at the very top of the
    file i.e. at point-min.
    
    The fixed function now checks if point is already on a heading and
    only calls outline-next-heading if this is not the case before
    starting the processing of the headlines.
    fabacino committed May 17, 2017
    Configuration menu
    Copy the full SHA
    16997d8 View commit details
    Browse the repository at this point in the history