From 505cc7a2219abd748d0c6ebda5dfcb314641e9fa Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 8 May 2012 16:07:52 +0200 Subject: [PATCH] org-agenda.el: Remove any timestamp from the headline text. * org-agenda.el (org-agenda-get-timestamps): Remove any active timestamp from the headline text, not only those for the current date. Thanks to SW, Nick Dokos, Samuel Wales and Brian van den Broek for inputs about this. --- lisp/org-agenda.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index bf1b0cb51..eea299881 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4982,13 +4982,7 @@ This function is invoked if `org-agenda-todo-ignore-deadlines', 0 'org-hd-marker a)) (cons (marker-position mm) a))) deadline-results)) - (remove-re - (concat - (regexp-quote - (format-time-string - "<%Y-%m-%d" - (encode-time 0 0 0 (nth 1 date) (nth 0 date) (nth 2 date)))) - ".*?>")) + (remove-re org-ts-regexp) (regexp (concat (if org-agenda-include-inactive-timestamps "[[<]" "<")