forked from mirrors/org-mode
org-element: Tiny refactoring
* lisp/org-element.el (org-element-headline-parser): Tiny refactoring.
This commit is contained in:
parent
1b7d3ffcbf
commit
a768cf045d
|
@ -800,8 +800,7 @@ Assume point is at beginning of the headline."
|
|||
(t (setq plist (plist-put plist :closed time))))))
|
||||
plist))))
|
||||
(begin (point))
|
||||
(end (save-excursion
|
||||
(goto-char (min (org-end-of-subtree t t) limit))))
|
||||
(end (min (save-excursion (org-end-of-subtree t t)) limit))
|
||||
(pos-after-head (progn (forward-line) (point)))
|
||||
(contents-begin (save-excursion
|
||||
(skip-chars-forward " \r\t\n" end)
|
||||
|
|
Loading…
Reference in a new issue