forked from mirrors/org-mode
org: Small simplification
This commit is contained in:
parent
e7ea951ac9
commit
1f78ca45f8
|
@ -13601,9 +13601,8 @@ drawer is immediately hidden."
|
||||||
(org-with-limited-levels (org-back-to-heading-or-point-min t)))
|
(org-with-limited-levels (org-back-to-heading-or-point-min t)))
|
||||||
(if (org-before-first-heading-p)
|
(if (org-before-first-heading-p)
|
||||||
(while (and (org-at-comment-p) (bolp)) (forward-line))
|
(while (and (org-at-comment-p) (bolp)) (forward-line))
|
||||||
(progn
|
(forward-line)
|
||||||
(forward-line)
|
(when (looking-at-p org-planning-line-re) (forward-line)))
|
||||||
(when (looking-at-p org-planning-line-re) (forward-line))))
|
|
||||||
(unless (looking-at-p org-property-drawer-re)
|
(unless (looking-at-p org-property-drawer-re)
|
||||||
;; Make sure we start editing a line from current entry, not from
|
;; Make sure we start editing a line from current entry, not from
|
||||||
;; next one. It prevents extending text properties or overlays
|
;; next one. It prevents extending text properties or overlays
|
||||||
|
|
Loading…
Reference in New Issue