emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [PATCH] Bugfix: Functions were renamed so rename the calle


From: Carsten Dominik
Subject: [Orgmode] Re: [PATCH] Bugfix: Functions were renamed so rename the callers too
Date: Wed, 14 Jan 2009 00:37:26 +0100

Thanks!

- Carsten

On Jan 14, 2009, at 12:34 AM, Bernt Hansen wrote:

Rename functions missed in commit 1371205.

Changing timestamps for the currently clocked task generated the
following error:

org-clock-update-time-maybe: Symbol's function definition is void: org-update-mode-line
---
I sent this patch to the list a day or two ago but it looks like it
never made it so here's a resend.

Carsten: This commit is available in my 'for-carsten' branch.

Regards,
Bernt

lisp/org.el |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index f9db516..125c4f3 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -2665,7 +2665,7 @@ If TABLE-TYPE is non-nil, also check for table.el-type tables."

(declare-function org-clock-save-markers-for-cut-and-paste "org-clock"
                  (beg end))
-(declare-function org-update-mode-line "org-clock" ())
+(declare-function org-clock-update-mode-line "org-clock" ())
(defvar org-clock-start-time)
(defvar org-clock-marker (make-marker)
  "Marker recording the last clock-in.")
@@ -2702,7 +2702,7 @@ Otherwise, return nil."
            (setq org-clock-start-time
                  (apply 'encode-time
                         (org-parse-time-string (match-string 1))))
-           (org-update-mode-line)))
+           (org-clock-update-mode-line)))
         (t
(and (match-end 4) (delete-region (match-beginning 4) (match-end 4)))
          (end-of-line 1)
--
1.6.1.28.gc32f76






reply via email to

[Prev in Thread] Current Thread [Next in Thread]