Mercurial > emacs
changeset 92640:21bbfdf10ce1
(calendar-next-time-zone-transition, calendar-time-zone): Doc fixes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 08 Mar 2008 20:39:31 +0000 |
parents | 19d459e487b0 |
children | 81579be3af9d |
files | lisp/calendar/cal-dst.el |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/cal-dst.el Sat Mar 08 20:36:53 2008 +0000 +++ b/lisp/calendar/cal-dst.el Sat Mar 08 20:39:31 2008 +0000 @@ -141,7 +141,7 @@ (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 @@ "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 @@ (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)