summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTokuya Kameshima <kametoku@gmail.com>2013-01-14 17:04:31 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-14 17:04:31 (GMT)
commit115bd786954a20cffa3f10d1e0a68d5795fd7685 (patch)
treed4d0eaf1b54fdc1db4aa3717e4a0506607f2f45f
parente8f5b0ad72da990ed7d409c06dbe0bcadeb226dd (diff)
downloadorg-mode-115bd786954a20cffa3f10d1e0a68d5795fd7685.zip
org-mode-115bd786954a20cffa3f10d1e0a68d5795fd7685.tar.gz
org-agenda.el (org-search-view): Fix checking `org-agenda-show-inherited-tags'
* org-agenda.el (org-search-view): Fix checking `org-agenda-show-inherited-tags'. TINYCHANGE
-rw-r--r--lisp/org-agenda.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ca8459c..ab0c2b1 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4479,7 +4479,8 @@ in `org-agenda-text-search-extra-files'."
category-pos (get-text-property (point) 'org-category-position)
inherited-tags
(or (eq org-agenda-show-inherited-tags 'always)
- (memq 'todo org-agenda-show-inherited-tags)
+ (and (listp org-agenda-show-inherited-tags)
+ (memq 'todo org-agenda-show-inherited-tags))
(and (eq org-agenda-show-inherited-tags t)
(or (eq org-agenda-use-tag-inheritance t)
(memq 'todo org-agenda-use-tag-inheritance))))