> 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


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to