summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2010-09-09 15:20:54 +0200
committerDavid Maus <dmaus@ictsoc.de>2010-09-09 19:24:50 +0200
commit7c28d8d3362ef1c41837b99cf69c9ccf172aa21f (patch)
tree1faa99fa5560ac414e130d9ccc9a01788c6b0345
parent06c332cfee2bdfb6c30ac0a016ce643c4da7e0a5 (diff)
downloadorg-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.el2
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))