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
commit96da923c802da653f22a7b7ac1f332473e5e2548 (patch)
treed0995eb90169ce8756bd197520edee0bf107be4b /lisp/timer.el
parent6fe6d7a42b558238fca13bc84c45d27ddbd8059c (diff)
downloademacs-96da923c802da653f22a7b7ac1f332473e5e2548.tar.gz
(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)