help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to check if xyz-mode is on load path?


From: B. T. Raven
Subject: Re: how to check if xyz-mode is on load path?
Date: Mon, 02 Mar 2009 00:08:50 -0600
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Xah Lee wrote:
how can i check if a package already exists in the load path?

what i want to do is to put a package into autoload, but don't do that
if that package is already included in user's load path (e.g. either
the package is included in the emacs version she's got, or she already
installed it herself).

e.g. pseudo code:

(when
    (not (isPackageInstalledQ "ocaml-mode"))
  (autoload ocaml-mode "~/xahdir/ocaml-mode" )
)

Thanks

  Xah
∑ http://xahlee.org/

C-h v load-path


reply via email to

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