changeset 1835:0aa8e261f174

(mail-do-fcc): Allow dash in timezone name.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 Feb 1993 20:40:41 +0000
parents 9a1f696c1734
children fe4f7650a94b
files lisp/mail/sendmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Mon Feb 01 22:31:17 1993 +0000
+++ b/lisp/mail/sendmail.el	Tue Feb 02 20:40:41 1993 +0000
@@ -370,7 +370,7 @@
       (call-process "date" nil t nil)
       (goto-char (point-min))
       (re-search-forward 
-        "[0-9] \\([A-Za-z][A-Za-z ]*[A-Za-z]\\)[0-9 ]*$")
+        "[0-9] \\([A-Za-z][-A-Za-z ]*[A-Za-z]\\)[0-9 ]*$")
       (setq timezone (buffer-substring (match-beginning 1) (match-end 1)))
       (erase-buffer)
       (insert "\nFrom " (user-login-name) " "