Subject: bug#7665: Emacs: add command line option -L to set more paths toload-path

From: jari <[email-masked]>
Date: Sun, 19 Dec 2010 13:05:27 +0200

On 2010-12-18 12:12, Drew Adams wrote:
| 
| And I was thinking mainly of another use case: analyzing and reporting bugs.
| ... To narrow down the problem, I sometimes copy suspect files to a separate
| direactory, open `emacs -Q' and add just that directory to `load-path'.
|
| ...  the order of switch processing should be just left to right.
| That way, you could use -L followed by -l

Processing would be as they appear on the command line.

	-L path1 -l library1 -l path2 -l library2

as in:

	(add-to-list 'load-path "path1")
	(load "library1")
	(add-to-list 'load-path "path2")
	(load "library2")

Jari