1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(mail-do-fcc): Allow dash in timezone name.

This commit is contained in:
Richard M. Stallman 1993-02-02 20:40:41 +00:00
parent 2aa7a8bfe5
commit a59de7ab62

View File

@ -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) " "