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

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

Re: Setting user-emacs-directory


From: Xavier Maillard
Subject: Re: Setting user-emacs-directory
Date: Wed, 22 Oct 2008 02:25:29 +0200
User-agent: Rmail in GNU Emacs 23.0.60.12 on GNU/Linux

Hi,

   I'd like change the user directory (usually ~/.emacs.d) and the init
   file placing them inside ~/Library/Preferences/Emacs and ~/Library/
   Preferences/Emacs/Preferences.el, respectively. Currently I'm
   achieving this by using symbolic links.

I have set up a minimal .emacs (in my $HOME directory) which is
in charge of this (see below).

(setq user-init-file "blah blah")
(setq user-emacs-directory "my emacs.d directory")
(add-to-list 'load-path .....)  ;; long list of directories here  
(require 'xma-autoloads "/home/xma/usr/share/emacs/autoloads")
(require 'slime-autoloads)
(load user-init-file)

Hope that'll help.

        Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




reply via email to

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