summaryrefslogtreecommitdiff
path: root/lisp/timer.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-29 20:43:41 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-29 20:43:41 +0000
commit046c6887bcacc226d2a9bfb3136e9ab905d9acac (patch)
treec974b424946d192d6ef31ce04c6352734989f9f0 /lisp/timer.el
parent6f139a456c1b6ee458c68642e107794e4e9f8aa3 (diff)
downloademacs-046c6887bcacc226d2a9bfb3136e9ab905d9acac.tar.gz
(cancel-function-timers): Renamed from spurious duplicate
definition of cancel-timer.
Diffstat (limited to 'lisp/timer.el')
-rw-r--r--lisp/timer.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/timer.el b/lisp/timer.el
index e63f77defa0..1bfc5ec323a 100644
--- a/lisp/timer.el
+++ b/lisp/timer.el
@@ -128,9 +128,9 @@ will happen at the specified time."
;; Used to set timer-scratch to "", but nothing uses that var.
(setq timer-process nil timer-alist nil))))
-(defun cancel-timer (function)
+(defun cancel-function-timers (function)
"Cancel all events scheduled by `run-at-time' which would run FUNCTION."
- (interactive "aCancel function: ")
+ (interactive "aCancel timers of function: ")
(let ((alist timer-alist))
(while alist
(if (eq (nth 2 (car alist)) function)