gnus-art.el (article-make-date-line): Work for user-defined format.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 31 Jan 2011 02:47:15 +0000 (02:47 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 31 Jan 2011 02:47:15 +0000 (02:47 +0000)
lisp/ChangeLog
lisp/gnus-art.el

index f9dbec8..51b0359 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-31  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (article-make-date-line): Work for user-defined format.
+
 2011-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-start.el (gnus-read-active-for-groups): Read the active files
index e0ff5f2..7fba448 100644 (file)
@@ -3480,7 +3480,7 @@ possible values."
 (defun article-make-date-line (date type)
   "Return a DATE line of TYPE."
   (unless (memq type '(local ut original user iso8601 lapsed english
-                            combined-lapsed))
+                            combined-lapsed user-defined))
     (error "Unknown conversion type: %s" type))
   (condition-case ()
       (let ((time (date-to-time date)))
@@ -3508,7 +3508,7 @@ possible values."
                               (substring date 0 (match-beginning 0))
                             date)))
         ;; Let the user define the format.
-        ((eq type 'user)
+        ((eq type 'user-defined)
          (let ((format (or (condition-case nil
                                (with-current-buffer gnus-summary-buffer
                                  gnus-article-time-format)