org-clock: Remove handling for illicit :scope values

* lisp/org-clock.el (org-dblock-write:clocktable): :scope is not meant
  to be a s-exp, so don't use `eval' on it.
This commit is contained in:
Nicolas Goaziou 2016-06-24 00:52:19 +02:00
parent ba4831bba8
commit 3bfbd26acd
1 changed files with 0 additions and 2 deletions

View File

@ -2381,8 +2381,6 @@ the currently selected interval size."
;; Get the right scope
(cond
((and scope (listp scope) (symbolp (car scope)))
(setq scope (eval scope)))
((eq scope 'agenda)
(setq scope (org-agenda-files t)))
((eq scope 'agenda-with-archives)