aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/editfns.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 99365930c23..7b3db6203d3 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -596,7 +596,11 @@ STANDARD is a string giving the name of the time zone when no seasonal\n\
596SAVINGS is a string giving the name of the time zone when there is a\n\ 596SAVINGS is a string giving the name of the time zone when there is a\n\
597 seasonal time adjustment in effect.\n\ 597 seasonal time adjustment in effect.\n\
598If the local area does not use a seasonal time adjustment,\n\ 598If the local area does not use a seasonal time adjustment,\n\
599SAVINGS-FLAG is always nil, and STANDARD and SAVINGS are equal.") 599SAVINGS-FLAG is always nil, and STANDARD and SAVINGS are equal.\n\
600\n\
601Some operating systems cannot provide all this information to Emacs;\n\
602in this case, current-time-zone will return a list containing nil for\n\
603the data it can't find.")
600 () 604 ()
601{ 605{
602#ifdef EMACS_CURRENT_TIME_ZONE 606#ifdef EMACS_CURRENT_TIME_ZONE
@@ -612,8 +616,7 @@ SAVINGS-FLAG is always nil, and STANDARD and SAVINGS are equal.")
612 Fcons (build_string (savings), 616 Fcons (build_string (savings),
613 Qnil)))); 617 Qnil))));
614#else 618#else
615 error 619 return Fmake_list (4, Qnil);
616 ("current-time-zone has not been implemented on this operating system.");
617#endif 620#endif
618} 621}
619 622