|
@@ -1095,7 +1095,9 @@ Assume point is at beginning of the headline."
|
|
|
(commentedp
|
|
|
(and (let ((case-fold-search nil))
|
|
|
(looking-at org-element-comment-string))
|
|
|
- (goto-char (match-end 0))))
|
|
|
+ (goto-char (match-end 0))
|
|
|
+ (when (looking-at-p "\\(?:[ \t]\\|$\\)")
|
|
|
+ (point))))
|
|
|
(title-start (prog1 (point)
|
|
|
(unless (or todo priority commentedp)
|
|
|
;; Headline like "* :tag:"
|