aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/timezone.el
diff options
context:
space:
mode:
authorJuanma Barranquero2008-11-01 01:24:33 +0000
committerJuanma Barranquero2008-11-01 01:24:33 +0000
commit6cda144ffe7e8da08b15430072f3b112967d5281 (patch)
treeb1427bb1647e69581099a031db5321e6dc3b4b78 /lisp/timezone.el
parent322ca65006295d1d7d405188fa324f66b4d3ec17 (diff)
downloademacs-6cda144ffe7e8da08b15430072f3b112967d5281.tar.gz
emacs-6cda144ffe7e8da08b15430072f3b112967d5281.zip
Fix typos in docstrings.
* cus-edit.el (customize-apropos-options, custom-comment) (custom-comment-tag, custom-face-edit-attribute-tag): Fix typos in docstrings. (custom-buffer-done-kill): Remove * from defcustom docstring. (custom-file): Fix typo in doc of defcustom choice. * frame.el (display-visual-class): Fix typo in docstring. (initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist) (special-display-frame-alist, show-trailing-whitespace) (auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval) (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): Remove * from defcustom docstrings. * md4.el (md4-buffer): Fix typo in docstring. (md4, md4-64): Doc fixes. (md4-pack-int32): Reflow docstring. * paths.el (rmail-file-name): Remove * from defcustom docstring. (prune-directory-list, gnus-nntp-service): Fix typos in docstrings. * rect.el (open-rectangle): Reflow docstring. (spaces-string): Fix docstring typo. Use "?\s" instead of "? ". * select.el (x-get-cut-buffer): Fix typo in docstring. * timezone.el (timezone-zone-to-minute, timezone-time-from-absolute) (timezone-time-zone-from-absolute, timezone-leap-year-p): Fix typos in docstrings. * emacs-lisp/assoc.el (asort, aelement, aput, aget, amake): Fix typos in docstrings.
Diffstat (limited to 'lisp/timezone.el')
-rw-r--r--lisp/timezone.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/timezone.el b/lisp/timezone.el
index 24e0a4850a5..afb46b060be 100644
--- a/lisp/timezone.el
+++ b/lisp/timezone.el
@@ -258,7 +258,7 @@ Recognize HH:MM:SS, HH:MM, HHMMSS, HHMM."
258 258
259(defun timezone-zone-to-minute (timezone) 259(defun timezone-zone-to-minute (timezone)
260 "Translate TIMEZONE to an integer minute offset from GMT. 260 "Translate TIMEZONE to an integer minute offset from GMT.
261TIMEZONE can be a cons cell containing the output of current-time-zone, 261TIMEZONE can be a cons cell containing the output of `current-time-zone',
262or an integer of the form +-HHMM, or a time zone name." 262or an integer of the form +-HHMM, or a time zone name."
263 (cond 263 (cond
264 ((consp timezone) 264 ((consp timezone)
@@ -280,7 +280,7 @@ or an integer of the form +-HHMM, or a time zone name."
280 280
281(defun timezone-time-from-absolute (date seconds) 281(defun timezone-time-from-absolute (date seconds)
282 "Compute the UTC time equivalent to DATE at time SECONDS after midnight. 282 "Compute the UTC time equivalent to DATE at time SECONDS after midnight.
283Return a list suitable as an argument to current-time-zone, 283Return a list suitable as an argument to `current-time-zone',
284or nil if the date cannot be thus represented. 284or nil if the date cannot be thus represented.
285DATE is the number of days elapsed since the (imaginary) 285DATE is the number of days elapsed since the (imaginary)
286Gregorian date Sunday, December 31, 1 BC." 286Gregorian date Sunday, December 31, 1 BC."
@@ -298,7 +298,7 @@ Gregorian date Sunday, December 31, 1 BC."
298 298
299(defun timezone-time-zone-from-absolute (date seconds) 299(defun timezone-time-zone-from-absolute (date seconds)
300 "Compute the local time zone for DATE at time SECONDS after midnight. 300 "Compute the local time zone for DATE at time SECONDS after midnight.
301Return a list in the same format as current-time-zone's result, 301Return a list in the same format as `current-time-zone's result,
302or nil if the local time zone could not be computed. 302or nil if the local time zone could not be computed.
303DATE is the number of days elapsed since the (imaginary) 303DATE is the number of days elapsed since the (imaginary)
304Gregorian date Sunday, December 31, 1 BC." 304Gregorian date Sunday, December 31, 1 BC."
@@ -370,7 +370,7 @@ If TIMEZONE is nil, use the local time zone."
370 (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month)))) 370 (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month))))
371 371
372(defun timezone-leap-year-p (year) 372(defun timezone-leap-year-p (year)
373 "Returns t if YEAR is a Gregorian leap year." 373 "Return t if YEAR is a Gregorian leap year."
374 (or (and (zerop (% year 4)) 374 (or (and (zerop (% year 4))
375 (not (zerop (% year 100)))) 375 (not (zerop (% year 100))))
376 (zerop (% year 400)))) 376 (zerop (% year 400))))