Mercurial > emacs
diff src/editfns.c @ 37217:9156124d97e2
(Fcurrent_time_zone): Accept spaces in timezone
names.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 05 Apr 2001 14:04:44 +0000 |
parents | a9b2639dd045 |
children | b9cea35cf91f |
line wrap: on
line diff
--- a/src/editfns.c Thu Apr 05 13:53:02 2001 +0000 +++ b/src/editfns.c Thu Apr 05 14:04:44 2001 +0000 @@ -1767,7 +1767,7 @@ /* On Japanese w32, we can get a Japanese string as time zone name. Don't accept that. */ char *p; - for (p = s; *p && isalnum (*p); ++p) + for (p = s; *p && (isalnum (*p) || *p == ' '); ++p) ; if (p == s || *p) s = NULL;