mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-26 07:33:39 +00:00
Cycling: Fix bug
The first cycle command on a line did not work correctly, to always switched to FOLD. This was due to an error in new, faster code to find the next visible line.
This commit is contained in:
parent
cd70915e26
commit
a4a8bd2d07
@ -1,3 +1,8 @@
|
||||
2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-cycle-internal-local): Fix problem with finding next
|
||||
invisible line.
|
||||
|
||||
2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-list.el (org-list-send-list): Call
|
||||
|
@ -4957,7 +4957,8 @@ in special contexts.
|
||||
(while (and (not (eobp)) ;; this is like `next-line'
|
||||
(get-char-property (1- (point)) 'invisible))
|
||||
(goto-char (next-single-char-property-change (point) 'invisible))
|
||||
(or (bolp) (beginning-of-line 2))))
|
||||
;;;??? (or (bolp) (beginning-of-line 2))))
|
||||
(and (eolp) (beginning-of-line 2))))
|
||||
(setq eol (point)))
|
||||
(outline-end-of-heading) (setq eoh (point))
|
||||
(save-excursion
|
||||
|
Loading…
Reference in New Issue
Block a user