emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Problem in 9.3: (next-error) broken


From: Kyle Meyer
Subject: Re: Problem in 9.3: (next-error) broken
Date: Sat, 29 Aug 2020 15:47:43 -0400

Tory S. Anderson writes:

> In any case, I keep having org-occur-next-match set away from nil, and
> I'm actually having trouble figuring out which hook will fix it, since
> org-mode-hook doesn't seem to be doing it. Instead I end up manually
> evaluating =(setq next-error-function nil)= every time I need
> next-error.
>
> Any suggestions? 

next-error-function is set in the define-derived-mode body for org-mode,
so something like

    (add-hook 'org-mode-hook
              (lambda () (setq next-error-function nil)))

should work, and it appears to on my end.



reply via email to

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