From 3bfbd26acd40e658f1b87d2b3b87676454cabb34 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 24 Jun 2016 00:52:19 +0200 Subject: [PATCH] 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. --- lisp/org-clock.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 0d61e70ef..dce7edfe0 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -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)