From: Tokuya Kameshima Date: Mon, 14 Jan 2013 17:04:31 +0000 (+0100) Subject: org-agenda.el (org-search-view): Fix checking `org-agenda-show-inherited-tags' X-Git-Tag: 7.9.3e~33 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/115bd786954a20cffa3f10d1e0a68d5795fd7685 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 --- diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index ca8459ca3..ab0c2b1d1 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))))