forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
81f4e9f651
|
@ -2097,11 +2097,13 @@ Possible values are: `folded', `children' or `subtree'. See
|
||||||
"Return column at which body of ITEM should start."
|
"Return column at which body of ITEM should start."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char item)
|
(goto-char item)
|
||||||
(looking-at "[ \t]*\\(\\S-+\\)\\(.*[ \t]+::\\)?\\([ \t]+\\|$\\)")
|
(looking-at "[ \t]*\\(\\S-+\\)\\(.*[ \t]::\\)?\\([ \t]\\|$\\)")
|
||||||
(if (match-beginning 2)
|
(if (match-beginning 2)
|
||||||
(let ((start (1+ (match-end 2)))
|
(let ((start (1+ (match-end 2)))
|
||||||
(ind (org-get-indentation)))
|
(ind (org-get-indentation)))
|
||||||
(if (> start (+ ind org-list-description-max-indent)) (+ ind 5) start))
|
(if (> start (+ ind org-list-description-max-indent))
|
||||||
|
(+ ind 5)
|
||||||
|
start))
|
||||||
(+ (progn (goto-char (match-end 1)) (current-column))
|
(+ (progn (goto-char (match-end 1)) (current-column))
|
||||||
(if (and org-list-two-spaces-after-bullet-regexp
|
(if (and org-list-two-spaces-after-bullet-regexp
|
||||||
(string-match-p org-list-two-spaces-after-bullet-regexp
|
(string-match-p org-list-two-spaces-after-bullet-regexp
|
||||||
|
|
Loading…
Reference in a new issue