Browse Source

org-element: Fix timestamp interpreter

* contrib/lisp/org-element.el (org-element-timestamp-interpreter): Fix
  timestamp interpreter.
Nicolas Goaziou 13 years ago
parent
commit
8a9429f9c3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      contrib/lisp/org-element.el

+ 3 - 1
contrib/lisp/org-element.el

@@ -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.