Mercurial > emacs
comparison lisp/timer.el @ 46484:6d05f3e71417
(timer-set-time-with-usecs): Mark obsolete.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 17 Jul 2002 07:29:47 +0000 |
parents | ded24b27ba96 |
children | 31c7343400b9 |
comparison
equal
deleted
inserted
replaced
46483:7350385eb42a | 46484:6d05f3e71417 |
---|---|
147 (aset timer 1 (nth 0 time)) | 147 (aset timer 1 (nth 0 time)) |
148 (aset timer 2 (nth 1 time)) | 148 (aset timer 2 (nth 1 time)) |
149 (aset timer 3 usecs) | 149 (aset timer 3 usecs) |
150 (aset timer 4 (and (numberp delta) (> delta 0) delta)) | 150 (aset timer 4 (and (numberp delta) (> delta 0) delta)) |
151 timer) | 151 timer) |
152 (make-obsolete 'timer-set-time-with-usecs | |
153 "use `timer-set-time' and `timer-inc-time' instead." | |
154 "21.4") | |
152 | 155 |
153 (defun timer-set-function (timer function &optional args) | 156 (defun timer-set-function (timer function &optional args) |
154 "Make TIMER call FUNCTION with optional ARGS when triggering." | 157 "Make TIMER call FUNCTION with optional ARGS when triggering." |
155 (or (timerp timer) | 158 (or (timerp timer) |
156 (error "Invalid timer")) | 159 (error "Invalid timer")) |