From 9939312b37faa91af714dd9868a48723989caf41 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 18 Mar 2011 11:22:54 +0100 Subject: [PATCH] org-agenda: fix length computing * lisp/org-agenda.el (org-format-agenda-item): Fix length computing. Signed-off-by: Julien Danjou --- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 66e49fb96..1f046f2d3 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -5331,7 +5331,7 @@ Any match of REMOVE-RE will be removed from TXT." ;; Set org-heading property on `txt' to mark the start of the ;; heading. - (add-text-properties 0 (1- (length txt)) '(org-heading t) txt) + (add-text-properties 0 (length txt) '(org-heading t) txt) ;; Prepare the variables needed in the eval of the compiled format (setq time (cond (s2 (concat