[Top][All Lists]

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

RE: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path

From: Bingham, Jay
Subject: RE: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path))
Date: Thu, 19 Sep 2002 10:38:55 -0500

I just tried the statement as you have it in your message.  I don't know if 
this is exactly what you have in your .emacs but if it is it will not work you 
have an extra double quote at the end of the statement.

If you want to see how something will work paste it into the scratch buffer and 
type C-j at the end of the sexp.  Emacs will attempt to execute/evaluate the 
expression and will display the results in the scratch buffer.

.    HP - NonStop Austin Software & Services - Software Product Assurance
.    Austin, TX
. Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire.          -Dr. George W. Crane-

 -----Original Message-----
From:   Grimnir [mailto:address@hidden 
Sent:   Wednesday, September 18, 2002 6:35 PM
To:     address@hidden
Subject:        (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") 

I'm trying to install session.el on my SuSE Linux system. I downloaded it 

The INSTALL file says:

    "The cases:
      (b) You use Emacs and install Session in your home directory:
          create directory "~/.emacs.d/lisp/" and copy "lisp/session.el"
          to it.  Add the following lines at the beginning of your Emacs
          init file:

             (setq load-path
                   (cons (expand-file-name "~/.emacs.d/lisp") load-path))"

I added that to my .gnu-emacs but it doesn't seem to modify the load-path 
variable.  I really don't want to start playing around with the load path 
in the compile if I can aviod it, and I don't want to resort to having the 
same *.el in multiple place, nor symlinking them.  The above Lisp statement 
looks like a very attractive solution. Unfortunately, it doesn't seem to 

Can someone clarify what behavior I should expect from that statement?  Does 
it work for you?

-- STH
Help-gnu-emacs mailing list

reply via email to

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