1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-04 08:47:03 +00:00

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

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)