From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] Void variable org-clock-current-task Date: Tue, 19 Apr 2016 21:16:13 +0200 Message-ID: <87potlcsua.fsf@nicolasgoaziou.fr> References: <87r3e14j7h.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asb67-0000in-Kd for emacs-orgmode@gnu.org; Tue, 19 Apr 2016 15:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asb64-0002hk-Ei for emacs-orgmode@gnu.org; Tue, 19 Apr 2016 15:14:07 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asb64-0002hT-8N for emacs-orgmode@gnu.org; Tue, 19 Apr 2016 15:14:04 -0400 In-Reply-To: <87r3e14j7h.fsf@kyleam.com> (Kyle Meyer's message of "Tue, 19 Apr 2016 13:11:30 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Kyle Meyer Cc: Org-mode Hello, Kyle Meyer writes: > As a result, org-clock-current-task is undefined if org-clock.el is not > yet loaded, leading to org-agenda-mark-clocking-task signaling a > void-variable error when org-agenda is called. > > Debugger entered--Lisp error: (void-variable org-clock-current-task) > (if org-clock-current-task > (progn (save-restriction ...))) > org-agenda-mark-clocking-task() > ... > call-interactively(org-agenda nil nil) > command-execute(org-agenda) Fixed. Thank you. Regards, -- Nicolas Goaziou