[Top][All Lists]

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

Re: Ilisp Problem

From: F. Xavier Noria
Subject: Re: Ilisp Problem
Date: Fri, 07 Dec 2001 11:22:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

Paulo J. Matos aka PDestroy wrote:

> I'm having trouble getting ilisp to work, emacs issues an error
> each time I open a lisp source file.
> The error is:
> File mode specification error: (file-error "Cannot open load
> file" "ilisp")
> ilisp is in ~/emacslisp/ilisp
> This is what I have about ilisp in my .emacs:
> ;; ILisp Configuration
> (setq load-path (cons "~/emacslisp/ilisp" load-path))
> (load-file "~/emacslisp/ilisp/ilisp-all.elc")

I think `expand-file-name' is needed there:

(add-to-list 'load-path (expand-file-name "~/emacslisp/ilisp"))
(load-file (expand-file-name "~/emacslisp/ilisp/ilisp-all.elc"))

I use `add-to-list' because is idempotent.

-- fxn

reply via email to

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