[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers
From: |
Lars Ingebrigtsen |
Subject: |
bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers |
Date: |
Tue, 29 Oct 2019 13:37:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Not really -- I wondered why there were two functions (run-with-timer
>> and run-at-time) that are identical.
>
> Because they aren't identical, see Phil's response. run-after-delay
> was just that: it would run the function after a delay of SECS, and
> that argument isn't supposed to be anything but a number of seconds to
> wait from NOW.
I grepped through the tree -- people seem to use the two functions
interchangeably (i.e., there are calls to run-with-timer with a t value
for SECS etc).
But, OK, if you want to have two functions that are identical (only
differing in the doc string), then both functions should be documented
in the lispref manual.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Phil Sainty, 2019/10/22
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Michael Heerdegen, 2019/10/23
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Lars Ingebrigtsen, 2019/10/28
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Eli Zaretskii, 2019/10/28
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Lars Ingebrigtsen, 2019/10/29
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Phil Sainty, 2019/10/29
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Eli Zaretskii, 2019/10/29
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers,
Lars Ingebrigtsen <=
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Eli Zaretskii, 2019/10/29
- bug#37875: 27.0.50; `run-with-timer' not documented in (elisp)Timers, Lars Ingebrigtsen, 2019/10/29