Steve Youngs <sryoungs(a)bigpond.net.au> writes:
I have added another file to the gnus package
`dgnushack-xemacs.el'
which is similar to the upstream `dgnushack.el'. In that, I have...
(defalias 'timer-create 'make-itimer)
(defalias 'cancel-timer 'delete-itimer)
(defalias 'timer-activate 'activate-itimer)
(defalias 'timer-set-time 'set-itimer-value)
(defalias 'timer-set-function 'set-itimer-function)
(unless (fboundp 'timer-relative-time)
(defun timer-relative-time (time secs &optional usecs)
[...]
If you are going to use things like this, please use a "gnus-timer-"
prefix, i.e. put those functions in a separate namespace and fix the
file to use those replacement functions. Otherwise someone will load
Gnus and think that it somehow provides a proper replacement for FSF
timer functionality.
This is why `timer.el' (and others in fsf-compat) have been written to
begin with. The idea is, if we import FSF's function names, we should
either do it right or not at all.