* (message-make-forward-subject): Use "(none)" if the original article has no
authoryamaoka <yamaoka>
Fri, 12 Feb 1999 00:33:26 +0000 (00:33 +0000)
committeryamaoka <yamaoka>
Fri, 12 Feb 1999 00:33:26 +0000 (00:33 +0000)
subject.

lisp/message.el

index bc45b2d..f1098ff 100644 (file)
@@ -4079,14 +4079,14 @@ the message."
       (current-buffer)
       (message-narrow-to-head)
       (let ((funcs message-make-forward-subject-function)
-           (subject (if message-wash-forwarded-subjects
-                        (message-wash-subject
-                         (or (nnheader-decode-subject
-                              (message-fetch-field "Subject"))
-                             ""))
-                      (or (nnheader-decode-subject
-                           (message-fetch-field "Subject"))
-                          ""))))
+           (subject (message-fetch-field "Subject")))
+       (setq subject
+             (if subject
+                 (if message-wash-forwarded-subjects
+                     (message-wash-subject
+                      (nnheader-decode-subject subject))
+                   (nnheader-decode-subject subject))
+               "(none)"))
        ;; Make sure funcs is a list.
        (and funcs
             (not (listp funcs))