org-agenda: Fix Invalid Function 4 error

* lisp/org-agenda.el (org-tags-view): Fix wrong conversion introduced in
  commit a02a83793b.

Reported-by: Ian Dunn <dunni@gnu.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/106080>
This commit is contained in:
Nicolas Goaziou 2016-04-05 23:31:21 +02:00
parent cd47ab7411
commit 0e0a72443a
1 changed files with 1 additions and 1 deletions

View File

@ -4852,7 +4852,7 @@ The prefix arg TODO-ONLY limits the search to TODO entries."
(setq org-agenda-query-string match)
(setq org-agenda-redo-command
(list 'org-tags-view
org--matcher-tags-todo-only
`(quote ,org--matcher-tags-todo-only)
`(if current-prefix-arg nil ,org-agenda-query-string)))
(setq files (org-agenda-files nil 'ifmode)
rtnall nil)