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: Glenn Morris
Subject: bug#7665: Emacs: add command line option -L to set more paths to load-path
Date: Sat, 23 Feb 2013 19:59:28 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Version: 19.29

Jari Aalto wrote:

> directories, it would be nice to have option -L (like in linkers) to
> prepend paths easily to load-path.
>
> An example:
>
>     emacs -L ~/elisp/package -L ~/.emacs.d/downloaded -l my-test.el
[...]
> 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")

Emacs has had this feature since version 19.29...





reply via email to

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