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

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

Re: Issue with .emacs, files not loading


From: Sven Joachim
Subject: Re: Issue with .emacs, files not loading
Date: Wed, 04 Jun 2008 09:16:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2008-06-03 23:40 +0200, Colin S. Miller wrote:

> From the variable's documentation
>
>   *List of directories to search for files to load.
>   Each element is a string (directory name) or nil (try default directory).
>
>   Note that the elements of this list *may not* begin with "~", so you must
>   call `expand-file-name' on them before adding them to this list.

Where did you get that?  Here it says:

,----
| *List of directories to search for files to load.
| Each element is a string (directory name) or nil (try default directory).
| Initialized based on EMACSLOADPATH environment variable, if any,
| otherwise to default specified by file `epaths.h' when Emacs was built.
`----

No mention of expand-file-name.

> You need to expand your paths before adding them to load-path.

Huh?  I have

(setq load-path (append (list "~/elisp") load-path))

in my .emacs since ages, and that has always worked.

> I can't see where you are calling (load-library) to load
> my-custom-generic.el.

That's a valid point, at last.

Sven


reply via email to

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