[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to set alias to drectory in .emacs?
From: |
F. Chen |
Subject: |
Re: How to set alias to drectory in .emacs? |
Date: |
16 Oct 2003 01:50:42 -0700 |
Kevin Rodgers <ihs_4664@yahoo.com> wrote in message
news:<3F8D8F37.10503@yahoo.com>...
> F. Chen wrote:
>
> > I'd like to know how to set an alias for a direcory in emacs, e.g.
> > alias wd = "/Home/self/private/Work/Papers/InProgress/", so everytime
> > I want to open a file in that directory but from a different location,
> > I can do something along the line of C-x C-f type wd, then file name.
>
> M-: (setenv "wd" "/Home/self/private/Work/Papers/InProgress")
> C-x C-f $wd TAB
Thanks! this works.
fc