Fix indentation after an inline task with drawers

* org.el (org-indent-line-function): ignore drawers inside inline
  tasks  if the line to indent isn't inside an inline task itself.
This commit is contained in:
Nicolas Goaziou 2010-11-06 16:43:12 +01:00
parent 85591ffcbf
commit 5bbce0473d
1 changed files with 2 additions and 1 deletions

View File

@ -18674,7 +18674,8 @@ If point is in an inline task, mark that task instead."
(and (org-in-item-p) (goto-char (org-list-top-point))) (and (org-in-item-p) (goto-char (org-list-top-point)))
(and (not inline-task-p) (and (not inline-task-p)
(featurep 'org-inlinetask) (featurep 'org-inlinetask)
(org-inlinetask-in-task-p)))) (org-inlinetask-in-task-p)
(or (org-inlinetask-goto-beginning) t))))
(beginning-of-line 0)) (beginning-of-line 0))
(cond (cond
;; There was an heading above. ;; There was an heading above.