summaryrefslogtreecommitdiff
path: root/helm-org.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-12-20 06:51:57 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-12-20 06:51:57 +0100
commit79597ef405d661325d9f7a327705719171dca24b (patch)
treeed8dbd0d9114cb1e7c7ed28bac439f44cccdea73 /helm-org.el
parent0cbd2be6a4469625d7980df4af7616827a4ca02a (diff)
Use or in helm-org-get-candidates (#1294).
* helm-org.el (helm-org-get-candidates): Do it.
Diffstat (limited to 'helm-org.el')
-rw-r--r--helm-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-org.el b/helm-org.el
index 5e741265..12fe239c 100644
--- a/helm-org.el
+++ b/helm-org.el
@@ -107,7 +107,7 @@ NOTE: This will be slow on large org buffers."
(helm-org--get-candidates-in-file
filename min-depth max-depth
helm-org-headings-fontify
- (if parents t helm-org-headings--nofilename)
+ (or parents helm-org-headings--nofilename)
parents))
filenames)
t))