diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-11-06 16:43:12 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-12-06 19:13:09 +0100 |
commit | 5bbce0473da8e56e9399a640557f693e83390e39 (patch) | |
tree | c70f157b0e9b6a2342e29262a873ae0a3024d071 | |
parent | 85591ffcbfeb566045f41a801d7ad3632b55c653 (diff) | |
download | org-mode-5bbce0473da8e56e9399a640557f693e83390e39.tar.gz |
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.
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 380f1f8..e006c36 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. |