unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs install location from lisp?
@ 2005-08-02 11:20 GGarramuno
  2005-08-02 11:27 ` Lennart Borgman
  2005-08-02 14:07 ` Jason Rumney
  0 siblings, 2 replies; 3+ messages in thread
From: GGarramuno @ 2005-08-02 11:20 UTC (permalink / raw)


How can I obtain the emacs install location from within lisp?
I'd like to add some additional subdirs within the lisp/ directory to
my load path.

Something akin to:
(add-to-list load-path (concat emacs-location "lisp/jabber"))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs install location from lisp?
  2005-08-02 11:20 emacs install location from lisp? GGarramuno
@ 2005-08-02 11:27 ` Lennart Borgman
  2005-08-02 14:07 ` Jason Rumney
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2005-08-02 11:27 UTC (permalink / raw)
  Cc: help-gnu-emacs

GGarramuno@aol.com wrote:

>How can I obtain the emacs install location from within lisp?
>I'd like to add some additional subdirs within the lisp/ directory to
>my load path.
>
>Something akin to:
>(add-to-list load-path (concat emacs-location "lisp/jabber"))
>  
>
exec-directory

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs install location from lisp?
  2005-08-02 11:20 emacs install location from lisp? GGarramuno
  2005-08-02 11:27 ` Lennart Borgman
@ 2005-08-02 14:07 ` Jason Rumney
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Rumney @ 2005-08-02 14:07 UTC (permalink / raw)


GGarramuno@aol.com writes:

> How can I obtain the emacs install location from within lisp?
> I'd like to add some additional subdirs within the lisp/ directory to
> my load path.

Firstly, you shouldn't need to. All subdiricetories should be automatically
added to the load-path at startup.

Secondly, you should add external packages to site-lisp, not
lisp. This makes upgrading easier and prevents confusion over which
packages came with Emacs and which you added later.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-02 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 11:20 emacs install location from lisp? GGarramuno
2005-08-02 11:27 ` Lennart Borgman
2005-08-02 14:07 ` Jason Rumney

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).