summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2011-03-18 11:22:54 +0100
committerJulien Danjou <julien@danjou.info>2011-03-18 11:22:54 +0100
commit9939312b37faa91af714dd9868a48723989caf41 (patch)
treef01169e05eb26414ad2e4257cba19c25157b9c33
parent7426874fd9a55ca72a887ce5a192cf121d99853d (diff)
downloadorg-mode-9939312b37faa91af714dd9868a48723989caf41.tar.gz
org-agenda: fix length computing
* lisp/org-agenda.el (org-format-agenda-item): Fix length computing. Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--lisp/org-agenda.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 66e49fb..1f046f2 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