diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-11-01 01:24:33 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-11-01 01:24:33 +0000 |
commit | 6cda144ffe7e8da08b15430072f3b112967d5281 (patch) | |
tree | b1427bb1647e69581099a031db5321e6dc3b4b78 /lisp/timezone.el | |
parent | 322ca65006295d1d7d405188fa324f66b4d3ec17 (diff) | |
download | emacs-6cda144ffe7e8da08b15430072f3b112967d5281.tar.gz |
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.el | 8 |
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." (defun timezone-zone-to-minute (timezone) "Translate TIMEZONE to an integer minute offset from GMT. -TIMEZONE can be a cons cell containing the output of current-time-zone, +TIMEZONE can be a cons cell containing the output of `current-time-zone', or an integer of the form +-HHMM, or a time zone name." (cond ((consp timezone) @@ -280,7 +280,7 @@ or an integer of the form +-HHMM, or a time zone name." (defun timezone-time-from-absolute (date seconds) "Compute the UTC time equivalent to DATE at time SECONDS after midnight. -Return a list suitable as an argument to current-time-zone, +Return a list suitable as an argument to `current-time-zone', or nil if the date cannot be thus represented. DATE is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC." @@ -298,7 +298,7 @@ Gregorian date Sunday, December 31, 1 BC." (defun timezone-time-zone-from-absolute (date seconds) "Compute the local time zone for DATE at time SECONDS after midnight. -Return a list in the same format as current-time-zone's result, +Return a list in the same format as `current-time-zone's result, or nil if the local time zone could not be computed. DATE is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC." @@ -370,7 +370,7 @@ If TIMEZONE is nil, use the local time zone." (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month)))) (defun timezone-leap-year-p (year) - "Returns t if YEAR is a Gregorian leap year." + "Return t if YEAR is a Gregorian leap year." (or (and (zerop (% year 4)) (not (zerop (% year 100)))) (zerop (% year 400)))) |