From: Juanma Barranquero <lekktu@gmail.com>
Subject: Re: run-hooks vs. run-mode-hooks.
Date: Sat, 28 May 2005 01:37:56 +0200 [thread overview]
Message-ID: <f7ccd24b050527163774690bc1@mail.gmail.com> (raw)
In-Reply-To: <jwvvf548xjs.fsf-monnier+emacs@gnu.org>
> 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
next prev parent reply other threads:[~2005-05-27 23:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-25 12:28 run-hooks vs. run-mode-hooks Lute Kamstra
2005-05-26 5:59 ` Richard Stallman
2005-05-27 0:58 ` Katsumi Yamaoka
2005-05-27 1:40 ` Lute Kamstra
2005-05-27 3:32 ` Katsumi Yamaoka
2005-05-27 8:01 ` Juanma Barranquero
2005-05-27 16:07 ` Stefan Monnier
2005-05-27 16:45 ` Drew Adams
2005-05-27 23:37 ` Juanma Barranquero [this message]
2005-05-27 14:20 ` Richard Stallman
2005-05-27 15:12 ` Lute Kamstra
2005-05-27 21:43 ` Miles Bader
2005-05-27 23:48 ` Katsumi Yamaoka
2005-05-30 6:45 ` Katsumi Yamaoka
2005-05-31 4:17 ` Richard Stallman
2005-05-28 11:52 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b050527163774690bc1@mail.gmail.com \
--to=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).