summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-02-02 20:40:41 +0000
committerRichard M. Stallman <rms@gnu.org>1993-02-02 20:40:41 +0000
commita59de7ab62c0ec2915ad3e6cb19ead2016ad0dab (patch)
tree417aec2632f657689c3da326f207f9d950642368 /lisp
parent2aa7a8bfe569d2e0fe9bc7c36378cc9abcf6575d (diff)
downloademacs-a59de7ab62c0ec2915ad3e6cb19ead2016ad0dab.tar.gz
emacs-a59de7ab62c0ec2915ad3e6cb19ead2016ad0dab.tar.bz2
emacs-a59de7ab62c0ec2915ad3e6cb19ead2016ad0dab.zip
(mail-do-fcc): Allow dash in timezone name.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/sendmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 1de964cb349..d97eaa0946d 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -370,7 +370,7 @@ the user from the mailer."
(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) " "