From mboxrd@z Thu Jan 1 00:00:00 1970 From: l.stelmach@samsung.com (=?utf-8?Q?=C5=81ukasz?= Stelmach) Subject: org-clock-is-active Date: Wed, 03 Jul 2013 17:33:25 +0200 Message-ID: <87ip0rmzei.fsf@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuP6t-0003Mm-TD for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 11:36:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuP6s-0000kw-3q for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 11:36:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:36346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuP3u-0007aV-DD for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 11:33:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UuP3s-0005uf-VW for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 17:33:40 +0200 Received: from 217-67-201-162.itsa.net.pl ([217.67.201.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jul 2013 17:33:40 +0200 Received: from l.stelmach by 217-67-201-162.itsa.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jul 2013 17:33:40 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi. Please take a look at this. --8<---------------cut here---------------start------------->8--- (defun org-clock-is-active () "Return non-nil if clock is currently running. The return value is actually the clock marker." (marker-buffer org-clock-marker)) --8<---------------cut here---------------end--------------->8--- Either the docstring is lying or the code does not do what it is said to. (Or it is too late for me?) Bug? Feature? Kind regards, -- Ɓukasz Stelmach Samsung R&D Institute Poland Samsung Electronics