Bugfix: Make cycling work in plain list item at end of file
Reported by Wanrong Lin.
This commit is contained in:
parent
c595453eb6
commit
6f2a247611
|
@ -1,5 +1,8 @@
|
||||||
2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
|
2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
|
* org.el (org-show-entry): Make this work correctly also if it is
|
||||||
|
the last entry in the file.
|
||||||
|
|
||||||
* org-list.el (org-toggle-checkbox): Make double prefix set the
|
* org-list.el (org-toggle-checkbox): Make double prefix set the
|
||||||
checkbox to "[-]".
|
checkbox to "[-]".
|
||||||
(org-fix-bullet-type): Only replace bullet it it is changed.
|
(org-fix-bullet-type): Only replace bullet it it is changed.
|
||||||
|
|
|
@ -15309,9 +15309,10 @@ Show the heading too, if it is currently invisible."
|
||||||
(outline-flag-region
|
(outline-flag-region
|
||||||
(max (point-min) (1- (point)))
|
(max (point-min) (1- (point)))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(re-search-forward
|
(if (re-search-forward
|
||||||
(concat "[\r\n]\\(" outline-regexp "\\)") nil 'move)
|
(concat "[\r\n]\\(" outline-regexp "\\)") nil t)
|
||||||
(or (match-beginning 1) (point-max)))
|
(match-beginning 1)
|
||||||
|
(point-max)))
|
||||||
nil))
|
nil))
|
||||||
(error nil))))
|
(error nil))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue