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

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

Re: Open terminal window from emacs


From: Frederik
Subject: Re: Open terminal window from emacs
Date: Sat, 28 Sep 2013 09:54:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

> I try to open up urxvt from emacs and make the terminal emulator
> automatically switch to the current working directory of the current
> buffer (i.e. to the value of default-directory).

Ok, the following works for me:
(call-process "/usr/bin/urxvt" nil 0 nil
              "-cd" (expand-file-name default-directory))

I've no clue why this works, but I'm happy now...

-- 
Frederik




reply via email to

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