From 311cc55195cd1fe67f75285ddb03ac81072631ff Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 8 Mar 2008 20:41:30 +0000 Subject: [PATCH] (calendar-next-time-zone-transition, calendar-time-zone): Doc fixes. --- lisp/ChangeLog | 4 +++- lisp/calendar/cal-dst.el | 7 +++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3e0ed6ba640..17c9c7de00d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -30,14 +30,16 @@ (french-calendar-day-name-array, french-calendar-special-days-array): Add doc strings. + * calendar/cal-dst.el (calendar-next-time-zone-transition) + (calendar-time-zone): * calendar/cal-iso.el (calendar-iso-read-args): - * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after): * calendar/cal-mayan.el (calendar-string-to-mayan-long-count) (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string) (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date) (calendar-next-calendar-round-date) (calendar-mayan-long-count-common-era): * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right): + * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after): Doc fixes. * calendar/cal-persia.el (persian-calendar-month-name-array) diff --git a/lisp/calendar/cal-dst.el b/lisp/calendar/cal-dst.el index a8df56ee27a..b35ec29deb0 100644 --- a/lisp/calendar/cal-dst.el +++ b/lisp/calendar/cal-dst.el @@ -141,7 +141,7 @@ midnight UTC on absolute date ABS-DATE." (defun calendar-next-time-zone-transition (time) "Return the time of the next time zone transition after TIME. -Both TIME and the result are acceptable arguments to current-time-zone. +Both TIME and the result are acceptable arguments to `current-time-zone'. Return nil if no such transition can be found." (let* ((base 65536);; 2^16 = base of current-time output (quarter-multiple 120);; approx = (seconds per quarter year) / base @@ -300,7 +300,7 @@ for `calendar-current-time-zone'." "Internal cal-dst variable storing date of daylight saving time transitions. Value is a list with elements of the form (YEAR START END), where START and END are expressions that when evaluated return the -start and end dates (respectively) for DST in YEAR. Used by the +start and end dates (respectively) for DST in YEAR. Used by the function `calendar-dst-find-startend'.") (defun calendar-dst-find-startend (year) @@ -367,8 +367,7 @@ it can't find." (calendar-current-time-zone) (defcustom calendar-time-zone (or (car calendar-current-time-zone-cache) -300) - "Number of minutes difference between local standard time at -`calendar-location-name' and Coordinated Universal (Greenwich) Time. + "Number of minutes difference between local standard time and UTC. For example, -300 for New York City, -480 for Los Angeles." :type 'integer :group 'calendar-dst) -- 2.39.2