summaryrefslogtreecommitdiff
path: root/lisp/timer.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-10-07 16:10:14 +0000
committerRichard M. Stallman <rms@gnu.org>1996-10-07 16:10:14 +0000
commit388d92ac277d7820815b79b933820d76a9dfcc98 (patch)
tree8ce53886537005856acf74192f49e177af862cc9 /lisp/timer.el
parenta361deba75a2e7156dc82e9ba2a5b1e7dd107fbb (diff)
downloademacs-388d92ac277d7820815b79b933820d76a9dfcc98.tar.gz
emacs-388d92ac277d7820815b79b933820d76a9dfcc98.tar.bz2
emacs-388d92ac277d7820815b79b933820d76a9dfcc98.zip
(cancel-timer): Add autoload cookie.
Diffstat (limited to 'lisp/timer.el')
-rw-r--r--lisp/timer.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/timer.el b/lisp/timer.el
index b728aeda287..a18019e7f65 100644
--- a/lisp/timer.el
+++ b/lisp/timer.el
@@ -210,7 +210,9 @@ fire repeatedly that many seconds apart."
nil)
(error "Invalid or uninitialized timer")))
+;;;###autoload
(defalias 'disable-timeout 'cancel-timer)
+;;;###autoload
(defun cancel-timer (timer)
"Remove TIMER from the list of active timers."
(or (timerp timer)