]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-art.el (article-make-date-line): Work for user-defined format.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 31 Jan 2011 02:49:29 +0000 (02:49 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 31 Jan 2011 02:49:29 +0000 (02:49 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-art.el

index 1367787cb8db9e937c249ce1ae7d5f5f47085cad..5aa0fb342dfb51d2b9a5de174fc31ab37dbc7805 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 e0ff5f2c17e18372655d6c8a4597d083429e1f78..7fba44816c142c02ed10c40a77692a92d5349201 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)