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

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

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


From: Reiner Steib
Subject: Re: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path))
Date: Thu, 19 Sep 2002 21:15:12 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i586-pc-linux-gnu)

On Thu, Sep 19 2002, Kevin Rodgers wrote:

> Reiner Steib wrote:
>
>> On Thu, Sep 19 2002, address@hidden wrote:
>>> I added that to my .gnu-emacs but it doesn't seem to modify the load-path
>>> variable.
>> ".gnu-emacs"? I've seen this on SuSE Linux systems, but Emacs usually
>> is looking for "~/.emacs". Are you sure, that ".gnu-emacs" is used?
>
> `C-h v user-init-file RET'

It's clear, that there are billions of possibilities to load a file
named ".gnu-emacs". ;-) But the OP mentioned that `load-path' wasn't
modified, so it's suggesting to assume that the file was not loaded,
as the lisp code is correct.

FYI: What SuSE does (or at least did) is...

,----[ /etc/skel/.emacs ]
| (if (string-match "XEmacs\\|Lucid" emacs-version)
|     (progn
|       XEmacs-stuff-here)
|   (progn
|     (if (file-readable-p "~/.gnu-emacs")
|       (load "~/.gnu-emacs" nil t)
|       Emacs-stuff-here)))
`----

(no, I wouldn't recommend this)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/


reply via email to

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