summaryrefslogtreecommitdiff
path: root/helm-org.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm-org.el')
-rw-r--r--helm-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-org.el b/helm-org.el
index 12fe239c..f52f3606 100644
--- a/helm-org.el
+++ b/helm-org.el
@@ -141,8 +141,8 @@ NOTE: This will be slow on large org buffers."
collect (cons (propertize
(org-format-outline-path
(append (apply #'org-get-outline-path
- (and parents
- (list t level heading)))
+ (unless parents
+ (list t level heading)))
(list heading))
width file) 'helm-real-display heading)
(point-marker))))))))