org-element: Fix timestamp interpreter

* contrib/lisp/org-element.el (org-element-timestamp-interpreter): Fix
  timestamp interpreter.
This commit is contained in:
Nicolas Goaziou 2012-07-17 20:47:01 +02:00
parent 9f2594f6d0
commit 8a9429f9c3
1 changed files with 3 additions and 1 deletions

View File

@ -3102,7 +3102,9 @@ CONTENTS is nil."
(org-element-property :value timestamp))
(let ((range-end (org-element-property :range-end timestamp)))
(when range-end
(format (if (eq type 'inactive-range) "[%s]" "<%s>") range-end))))))
(concat "--"
(format (if (eq type 'inactive-range) "[%s]" "<%s>")
range-end)))))))
(defun org-element-timestamp-successor (limit)
"Search for the next timestamp object.