Browse Source

Revert "Fix org-store-link in GNUS messages with date"

This reverts commit e599234d5c0245dfc53037a6dc0128349b197627.
Carsten Dominik 9 years ago
parent
commit
bc841dcf23
1 changed files with 5 additions and 10 deletions
  1. 5 10
      lisp/org-gnus.el

+ 5 - 10
lisp/org-gnus.el

@@ -152,16 +152,11 @@ If `org-store-link' was called with a prefix arg the meaning of
 	   (from (mail-header-from header))
 	   (message-id (org-remove-angle-brackets (mail-header-id header)))
 	   (date (org-trim (mail-header-date header)))
-	   (date-ts (and date
-			 (condition-case nil
-			     (format-time-string
-			      (org-time-stamp-format t)
-			      (date-to-time date)))))
-	   (date-ts-ia (and date
-			    (condition-case nil
-				(format-time-string
-				 (org-time-stamp-format t t)
-				 (date-to-time date)))))
+	   (date-ts (and date (format-time-string
+			       (org-time-stamp-format t) (date-to-time date))))
+	   (date-ts-ia (and date (format-time-string
+				  (org-time-stamp-format t t)
+				  (date-to-time date))))
 	   (subject (copy-sequence (mail-header-subject header)))
 	   (to (cdr (assq 'To (mail-header-extra header))))
 	   newsgroups x-no-archive desc link)