> Maybe Gnus can do something like:
>
> (or (fboundp 'run-mode-hooks)
> (defalias 'run-mode-hooks 'run-hooks))
(Not in this case, that's already been fixed but) that would not be good.
The usual answer is making your own lookalike:
(if (fboundp 'function-in-doubt)
(defalias 'mymodule-function-in-doubt 'function-in-doubt)
(defun mymodule-function-in-doubt ...))
Otherwise, you're gonna mislead any module loaded afterwards that
tries to determine whether 'function-in-doubt exists or not.
--
/L/e/k/t/u
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel