Commit graph

5 commits

Author SHA1 Message Date
Sean Whitton
c31f6adc31 ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
Juri Linkov
24e5505705 Evaluate result on first call to throttled func in timeout.el
* lisp/emacs-lisp/timeout.el (timeout--throttle-advice)
(timeout-throttled-func): Replace 'prog1' with 'progn'
to return the evaluated value of 'result' (bug#79979).
This will capture the correct return value the first time
a throttled function is called.  Previously, it would return nil
on the very first call.
(timeout-debounce, timeout-throttle, timeout-throttled-func)
(timeout-debounced-func): Add the autoload cookie.
2025-12-10 19:37:33 +02:00
Philip Kaludercic
4c27866df9
; * lisp/emacs-lisp/timeout.el: Bump version header to 2.1
This is done to reflect the same version as in the upstream
repository, thus avoiding accidental upgrades:

6d31046c5b
2025-09-12 12:35:56 +02:00
Philip Kaludercic
0bf5898f20
Update timeout to 2f3ebb53
See https://github.com/karthink/timeout/commit/f3ebb5.
2025-09-11 23:25:46 +02:00
Philip Kaludercic
d2532a4ef0
Add new library 'timeout'
* lisp/emacs-lisp/timeout.el: Add the file.
* etc/NEWS: Mention the library.

See https://mail.gnu.org/archive/html/emacs-devel/2025-07/msg00520.html.
2025-09-01 22:31:01 +02:00