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:
parent
2aa7a8bfe5
commit
a59de7ab62
@ -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) " "
|
||||
|
Loading…
Reference in New Issue
Block a user