emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Typo in encode-time-value's docstring


From: Ari Roponen
Subject: Typo in encode-time-value's docstring
Date: Wed, 28 Nov 2007 17:05:28 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]