emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run-hooks vs. run-mode-hooks.


From: Juanma Barranquero
Subject: Re: run-hooks vs. run-mode-hooks.
Date: Sat, 28 May 2005 01:37:56 +0200

> Better use:
> 
>    (defalias 'mymodule-function-in-doubt
>      (if (fboundp 'function-in-doubt)
>          'function-in-doubt
>        (lambda (..) ...)))

I was only highlighting the fact that defining functions from "future"
Emacsen is Not Good, but yes, your way is better. Every non-contrived
way to get rid of warnings is good in my book :)

-- 
                    /L/e/k/t/u




reply via email to

[Prev in Thread] Current Thread [Next in Thread]