summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-06-23 11:53:08 (GMT)
committer Nicolas Goaziou <mail@nicolasgoaziou.fr>2017-06-23 11:53:08 (GMT)
commitcc631078ad0ad5def8b726d98c49927232edc5b7 (patch)
tree5c528d7ee09e865d9d3c4a6f2a22b71d5e6c2b6b
parentd94475d63c15cc445d6357a6ca531de6c9e8be34 (diff)
parent7ca34d2aef42aad1d48692b58f51514e61204fd6 (diff)
downloadorg-mode-master.zip
org-mode-master.tar.gz
Merge branch 'maint'HEADmaster
-rw-r--r--lisp/org-indent.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/org-indent.el b/lisp/org-indent.el
index 10c9617..4a22b15 100644
--- a/lisp/org-indent.el
+++ b/lisp/org-indent.el
@@ -142,11 +142,11 @@ useful to make it ever so slightly different."
;; Inline tasks line prefixes
(aset org-indent--inlinetask-line-prefixes
n
- (org-add-props (if (bound-and-true-p org-inlinetask-show-first-star)
- (concat org-indent-inlinetask-first-star
- (substring heading-prefix 1))
- heading-prefix)
- nil 'face 'org-indent)))
+ (cond ((<= n 1) "")
+ ((bound-and-true-p org-inlinetask-show-first-star)
+ (concat org-indent-inlinetask-first-star
+ (substring heading-prefix 1)))
+ (t (org-add-props heading-prefix nil 'face 'org-indent)))))
;; Text line prefixes.
(aset org-indent--text-line-prefixes
n