From 5bbce0473da8e56e9399a640557f693e83390e39 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 6 Nov 2010 16:43:12 +0100 Subject: [PATCH] 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. --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 380f1f8e5..e006c360c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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 (not inline-task-p) (featurep 'org-inlinetask) - (org-inlinetask-in-task-p)))) + (org-inlinetask-in-task-p) + (or (org-inlinetask-goto-beginning) t)))) (beginning-of-line 0)) (cond ;; There was an heading above.