[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to check if xyz-mode is on load path?
From: |
Xah Lee |
Subject: |
how to check if xyz-mode is on load path? |
Date: |
Sun, 1 Mar 2009 20:48:50 -0800 (PST) |
User-agent: |
G2/1.0 |
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/
☄
- how to check if xyz-mode is on load path?,
Xah Lee <=
- Re: how to check if xyz-mode is on load path?, B. T. Raven, 2009/03/02
- Re: how to check if xyz-mode is on load path?, Lennart Borgman, 2009/03/02
- Re: how to check if xyz-mode is on load path?, Alan Mackenzie, 2009/03/02
- Re: how to check if xyz-mode is on load path?, Michael Ekstrand, 2009/03/02
- Re: how to check if xyz-mode is on load path?, Kevin Rodgers, 2009/03/02