all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Typo in encode-time-value's docstring
@ 2007-11-28 15:05 Ari Roponen
  2007-11-29  4:48 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Ari Roponen @ 2007-11-28 15:05 UTC (permalink / raw)
  To: emacs-devel

Hi,

lisp/calendar/time-date.el contains this function:

    (defun encode-time-value (high low micro type)
      "Encode HIGH, LOW, and MICRO into a time value of type TYPE.
    Type 0 is the cons cell (HIGH . LOW), type 1 is the list (HIGH LOW),
    and type 3 is the list (HIGH LOW MICRO)."
      (cond
       ((eq type 0) (cons high low))
       ((eq type 1) (list high low))
       ((eq type 2) (list high low micro))))

Its docstring has a typo: "type 3" should be "type 2".

-- 
Ari Roponen

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Typo in encode-time-value's docstring
  2007-11-28 15:05 Typo in encode-time-value's docstring Ari Roponen
@ 2007-11-29  4:48 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2007-11-29  4:48 UTC (permalink / raw)
  To: Ari Roponen; +Cc: emacs-devel

Ari Roponen wrote:

> Its docstring has a typo: "type 3" should be "type 2".

Thanks; fixed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-29  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-28 15:05 Typo in encode-time-value's docstring Ari Roponen
2007-11-29  4:48 ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.