From xemacs-m  Wed Jul  9 04:27:21 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA04690
	for <xemacs-beta@xemacs.org>; Wed, 9 Jul 1997 04:27:20 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id CAA03159;
	Wed, 9 Jul 1997 02:30:17 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: [PATCH] `emacs-user-extension-dir': simple typo fix
References: <199707090912.CAA08334@bittersweet.inetarena.com>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
In-Reply-To: "Karl M. Hegbloom"'s message of "Wed, 9 Jul 1997 02:12:04 -0700"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 09 Jul 1997 02:30:16 -0700
Message-ID: <m2wwn0tvx3.fsf@altair.xemacs.org>
Lines: 30
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta13) - "Brussels"

Karl M Hegbloom <karlheg@inetarena.com> writes:

> --- lisp/prim/startup.el~	Wed Jul  9 00:36:24 1997
> +++ lisp/prim/startup.el	Wed Jul  9 02:09:13 1997
> @@ -547,7 +547,7 @@
>  	    (setq term (substring term 0 hyphend))
>  	  (setq term nil))))))
 
> -(defconst emacs-user-extension-dir "/.xemacs/"
> +(defconst emacs-user-extension-dir "~/.xemacs/"
>    "Directory where user initialization and user-installed packages may go.")
 
>  (defun load-user-init-file (init-file-user)

What bombed?  The leading slash was intentional.  I don't wish to
forcibly attach a tilde to it, because of `-u user'.

Note the subsequent code in startup.el:

 ...
    (setq user-init-file
          (cond
           ((eq system-type 'ms-dos)
            (concat "~" init-file-user emacs-user-extension-dir "init.el"))
           (t
            (concat "~" init-file-user emacs-user-extension-dir "init.el"))))

-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

