(gnus-cache-possibly-enter-article): Use `raw-text' property for saving
authorshuhei-k <shuhei-k>
Sat, 30 May 1998 14:54:59 +0000 (14:54 +0000)
committershuhei-k <shuhei-k>
Sat, 30 May 1998 14:54:59 +0000 (14:54 +0000)
cache file.

lisp/gnus-cache.el

index 430a452..08bb666 100644 (file)
@@ -181,8 +181,12 @@ variable to \"^nnml\"."
              ;; [number subject from date id references chars lines xref]
              (insert (format "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t\n"
                              (mail-header-number headers)
-                             (mail-header-subject headers)
-                             (mail-header-from headers)
+                             (let ((subject (mail-header-subject headers)))
+                               (or (get-text-property 0 'raw-text subject)
+                                   subject))
+                             (let ((from (mail-header-from headers)))
+                               (or (get-text-property 0 'raw-text from)
+                                   from))
                              (mail-header-date headers)
                              (mail-header-id headers)
                              (or (mail-header-references headers) "")