diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-09-09 15:20:54 +0200 |
---|---|---|
committer | David Maus <dmaus@ictsoc.de> | 2010-09-09 19:24:50 +0200 |
commit | 7c28d8d3362ef1c41837b99cf69c9ccf172aa21f (patch) | |
tree | 1faa99fa5560ac414e130d9ccc9a01788c6b0345 | |
parent | 06c332cfee2bdfb6c30ac0a016ce643c4da7e0a5 (diff) | |
download | org-mode-7c28d8d3362ef1c41837b99cf69c9ccf172aa21f.tar.gz |
Fix indentation when using a [@start:num] or [@num] construct.
* org.el (org-indent-line-function): Indent past [@num] and
[@start:num], consistently with what is already done with
checkboxes.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 95d1f31..68ed311 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -18588,7 +18588,7 @@ which make use of the date at the cursor." ;; Lists ((org-in-item-p) (org-beginning-of-item) - (looking-at "[ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? :: \\)?") + (looking-at "[ \t]*\\(\\S-+\\)[ \t]*\\(\\(:?\\[@\\(:?start:\\)?[0-9]+\\][ \t]*\\)?\\[[- X]\\][ \t]*\\|.*? :: \\)?") (setq bpos (match-beginning 1) tpos (match-end 0) bcol (progn (goto-char bpos) (current-column)) tcol (progn (goto-char tpos) (current-column)) |