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

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

Re: using string variable with file name


From: Johan Bockgård
Subject: Re: using string variable with file name
Date: Sat, 23 Feb 2008 13:44:05 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

saneman <address@hidden> writes:

> When using you last advice:
> (setq load-path (cons "~/work/mylisp" load-path))
> (load-file "setnu.el")
>
> I get the error:
> File error: "Cannot open load file", "/home/saneman/setnu.el"

Use `load', not `load-file'.

Or (require 'setnu).

-- 
Johan Bockgård


reply via email to

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