* gnus-fun.el (gnus-display-x-face-in-from): Fake a "From: "
authorShengHuo ZHU <zsh@cs.rochester.edu>
Mon, 7 Jan 2002 04:13:19 +0000 (04:13 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Mon, 7 Jan 2002 04:13:19 +0000 (04:13 +0000)
header if there is not.

lisp/ChangeLog
lisp/gnus-fun.el

index 4a9e748..4e789fd 100644 (file)
@@ -1,5 +1,8 @@
 2002-01-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
+       * gnus-fun.el (gnus-display-x-face-in-from): Fake a "From: "
+       header if there is not.
+
        * gnus-xmas.el (gnus-xmas-put-image): Insert " " if bobp.
 
        * gnus-msg.el (gnus-gcc-mark-as-read): New variable.
index 978bccf..876b5e7 100644 (file)
@@ -176,6 +176,9 @@ colors of the displayed X-Faces."
        (save-restriction
          (article-narrow-to-head)
          (gnus-article-goto-header "from")
+         (when (bobp) 
+           (insert "From: \n")
+           (forward-char -2))
          (gnus-add-image
           'xface
           (gnus-put-image