From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: is the ls-lisp package switched on or off?
Date: Mon, 01 Dec 2003 19:36:50 GMT [thread overview]
Message-ID: <jwvekvos56l.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: mailman.835.1070262627.399.help-gnu-emacs@gnu.org
> Every ELisp package has a line near its end saying this:
> (provide 'package-name)
> This is so you could make a test of whether the package has been
> loaded into Emacs, like this:
> (featurep 'package-name)
The package might be loaded for all kinds of reasons and it does not mean
the corresponding code is activated.
> This expression returns t if the package was loaded, nil otherwise.
> So in your case,
> (featurep 'ls-lisp)
I think he wants the value of ls-lisp-use-insert-directory-program
as well. BTW, the logic should be reversed: it should be insert-directory
that gets customized to either use `ls' or `ls-lisp'.
Stefan
next prev parent reply other threads:[~2003-12-01 19:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-01 4:01 is the ls-lisp package switched on or off? leo
2003-12-01 6:10 ` Eli Zaretskii
[not found] ` <mailman.835.1070262627.399.help-gnu-emacs@gnu.org>
2003-12-01 19:36 ` Stefan Monnier [this message]
2003-12-02 3:45 ` leo
2003-12-02 8:13 ` Eli Zaretskii
2003-12-02 16:57 ` Eli Zaretskii
2003-12-02 3:35 ` leo
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=jwvekvos56l.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
/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.
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).