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

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

Re: [h-e-w] Initialization help needed


From: Michael R. Wolf
Subject: Re: [h-e-w] Initialization help needed
Date: 06 Dec 2001 08:29:14 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Simon Green <address@hidden> writes:

> >>>>> "BJ" == Bingham, Jay <address@hidden> writes:
> 
>  BJ> I have tried (load "$HOME/myfile.el") and (load "~/myfile.el").
> 
> Try using
> (load (expand-file-name "~/myfile.el"))
> instead.
> 
> expand-file-name is a built-in function.

I like this solution.  It uses one of the functions that adds the DWIM
(Do What I Mean) functionality to my .emacs file.  I don't need to
know about "C:\" (WinDOS) or "/usr/msrw" (Un*x) -- I just need to know
"~".  The path returned by expand-file-name deals with the specifics
of whichever OS I'm on.

-- 
Michael R. Wolf
    All mammals learn by playing!
       address@hidden




reply via email to

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