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

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

bug#7665: Emacs: add command line option -L to set more paths to load-pa


From: Stefan Monnier
Subject: bug#7665: Emacs: add command line option -L to set more paths to load-path
Date: Sat, 18 Dec 2010 11:01:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> | > An example:
> | >     emacs -L ~/elisp/package -L ~/.emacs.d/downloaded -l my-test.el
> | 
> | I don't understand this example: why ~/elisp/package and
> | ~/.emacs.d/downloaded?  What are these directories and how are they
> | related to my-test.el?

> Just like Drew explained. The above would effectively do:

>     (add-to-list 'load-path "~/elisp/package")
>     (add-to-list 'load-path "~/.emacs.d/downloaded")
>     (load-library "my-test.el")

I understood that part, of course.  The question is: why do you need to
do that?
Hence "What are these directories and how are they related to my-test.el?"
And "Why ~/elisp/package and ~/.emacs.d/downloaded?"

Hopefully you (or Drew) understand those two questions now and can
answer them,


        Stefan





reply via email to

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