unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: (featurep 'multi-tty) => t on Windows
Date: Fri, 12 Dec 2008 21:43:40 -0500	[thread overview]
Message-ID: <E1LBKTk-0007p1-W2@fencepost.gnu.org> (raw)
In-Reply-To: <f7ccd24b0812121550j366bcae9s715ce1c6490e12c3@mail.gmail.com> (lekktu@gmail.com)

> Date: Sat, 13 Dec 2008 00:50:34 +0100
> From: "Juanma Barranquero" <lekktu@gmail.com>
> Cc: pandyacus@sbcglobal.net, cyd@stupidchicken.com, emacs-devel@gnu.org
> 
> I know. But there's a difference between
> 
>    (if (fboundp 'whatever)
>        (whatever ...))
> 
> and
> 
>   (if (fboundp 'whatever)
>       (something-else...))
> 
> Checking for a function before using it is clean. Checking for a
> function or a variable, as a way to know whether some "pack" of new
> features are installed, is not.

And how exactly is

    (if (featurep 'foo)
    	(something))

cleaner than the latter?




  reply	other threads:[~2008-12-13  2:43 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 12:54 (featurep 'multi-tty) => t on Windows Juanma Barranquero
2008-12-03 13:29 ` dhruva
2008-12-10 10:47 ` Juanma Barranquero
2008-12-10 14:00   ` Chong Yidong
2008-12-10 14:05     ` Juanma Barranquero
2008-12-10 16:16       ` Chong Yidong
2008-12-11  9:47         ` Juanma Barranquero
2008-12-11 17:35           ` Chetan Pandya
2008-12-11 23:24             ` Eli Zaretskii
2008-12-11 23:39               ` Juanma Barranquero
2008-12-12 12:01                 ` Eli Zaretskii
2008-12-12 12:14                   ` Juanma Barranquero
2008-12-12 12:54                     ` Eli Zaretskii
2008-12-12 16:23                       ` Juanma Barranquero
2008-12-12 23:27                         ` Eli Zaretskii
2008-12-12 23:50                           ` Juanma Barranquero
2008-12-13  2:43                             ` Eli Zaretskii [this message]
2008-12-13  6:03                               ` mail
2008-12-13 10:24                                 ` Eli Zaretskii
2008-12-13 11:01                                   ` Juanma Barranquero
2008-12-13 16:13                                     ` Stefan Monnier
2008-12-13 16:59                                       ` Juanma Barranquero
2008-12-14  2:42                                         ` Stefan Monnier
2008-12-14  3:11                                           ` Juanma Barranquero
2008-12-13 11:40                             ` Richard M Stallman
2008-12-13 16:58                               ` Juanma Barranquero
2008-12-12  4:38               ` Chetan Pandya
2008-12-12 12:03                 ` Eli Zaretskii
2008-12-11 23:17           ` Eli Zaretskii
2008-12-11 23:35             ` Juanma Barranquero
2008-12-12 11:52               ` Eli Zaretskii
2008-12-12 12:08                 ` Juanma Barranquero

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=E1LBKTk-0007p1-W2@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=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).