[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#980: Bug? sit-for and obsolete syntax
From: |
Christoph Conrad |
Subject: |
bug#980: Bug? sit-for and obsolete syntax |
Date: |
Sun, 14 Sep 2008 13:03:09 +0200 |
GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2008-05-03 on terranova, modified by Ubuntu
sit-for supports an obsolete call syntax with
(sit-for SECONDS &optional MILLISECONDS NODISP)
according to the doc string.
It checks:
(when (or obsolete (numberp nodisp))
(setq seconds (+ seconds (* 1e-3 nodisp)))
(setq nodisp obsolete))
the first logical 'or' should be imho 'and'. Else obsolete could be
non-nil, but nodisp could be no number (e.g. nil), and that results in
an error when multiplying.
- bug#980: Bug? sit-for and obsolete syntax,
Christoph Conrad <=