(message-generate-headers): Fix regexp.
authorshuhei-k <shuhei-k>
Sun, 15 Mar 1998 01:04:11 +0000 (01:04 +0000)
committershuhei-k <shuhei-k>
Sun, 15 Mar 1998 01:04:11 +0000 (01:04 +0000)
lisp/message.el

index 04180da..79b3367 100644 (file)
@@ -3078,7 +3078,7 @@ Headers already prepared in the buffer are not modified."
            (insert "Original-")
            (beginning-of-line))
          (when (or (message-news-p)
-                   (string-match "^[^@]@.+\\..+" secure-sender))
+                   (string-match "^[^@]+@.+\\..+" secure-sender))
            (insert "Sender: " secure-sender "\n")))))))
 
 (defun message-insert-courtesy-copy ()