summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik Chikmagalur <karthikchikmagalur@gmail.com>2025-08-30 02:53:33 -0700
committerKarthik Chikmagalur <karthikchikmagalur@gmail.com>2025-08-30 02:53:33 -0700
commit550bbe2ba5c22d7a3e1cf2c677c2cbc0cc6ce108 (patch)
treee19add09cad29d23469fadad11cc4f094d227d66
parent174f5e01c5d22a8d281223b9db20028ee84e0987 (diff)
README: Correct function name in usage
* README.org: Fix reference to `timeout-debounce!', which doesn't exist any more.
-rw-r--r--README.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.org b/README.org
index 5d61ade..cd4c413 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=: