branch: externals/timeout commit 550bbe2ba5c22d7a3e1cf2c677c2cbc0cc6ce108 Author: Karthik Chikmagalur <karthikchikmaga...@gmail.com> Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>
README: Correct function name in usage * README.org: Fix reference to `timeout-debounce!', which doesn't exist any more. --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 5d61ade481..cd4c413f9d 100644 --- a/README.org +++ b/README.org @@ -44,7 +44,7 @@ To reset =func=: By default a debounced function returns =nil= at call time. To change this, run: #+begin_src emacs-lisp -(timeout-debounce! 'func 0.5 'some-return-value) +(timeout-debounce 'func 0.5 'some-return-value) #+end_src Instead of advising =func=, you can also create new throttled or debounced versions of it with =timeout-throttle= and =timeout-debounce=: