* Nicolas Goaziou <m...@nicolasgoaziou.fr> [2017-04-15 16:53]:
Rafael Laboissière <raf...@laboissiere.net> writes:
Function org-backward-heading-same-level fails in a specific case.
Suppose the following org-mode file:
==================
* first
* second
* third
==================
where '* first' is right at the beginning of the file.
When the cursor is at line '* third' and
org-backward-heading-same-level is called, we go to the previous line
correctly. However when the cursor is at '* second',
org-backward-heading-same-level does bring us to the first line but
emits an error "Beginning of buffer". It seems that the patch
attached to this message fixes the problem.
Thank you. I eventually applied a slightly different patch, and added
some tests.
Thanks.
Best,
Rafael