forked from mirrors/org-mode
org-element: Complete 2125806
* lisp/org-element.el (org-element--parse-to): Do not bother checking for a planning line at the beginning of buffer.
This commit is contained in:
parent
21258060ad
commit
2df0785fbd
|
@ -5236,10 +5236,10 @@ the process stopped before finding the expected result."
|
|||
;; buffer.
|
||||
((not cached)
|
||||
(when (org-with-limited-levels (outline-previous-heading))
|
||||
(forward-line))
|
||||
(setq mode 'planning)
|
||||
(forward-line))
|
||||
(skip-chars-forward " \r\t\n")
|
||||
(beginning-of-line)
|
||||
(setq mode 'planning))
|
||||
(beginning-of-line))
|
||||
;; Cache returned exact match: return it.
|
||||
((= pos begin)
|
||||
(throw 'exit (if syncp (org-element-property :parent cached) cached)))
|
||||
|
|
Loading…
Reference in a new issue