unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* shortcut to take me from eshell to shell and preserve cwd
@ 2014-05-09 18:25 ckhan
  2014-05-09 18:53 ` Grant Rettke
  0 siblings, 1 reply; 2+ messages in thread
From: ckhan @ 2014-05-09 18:25 UTC (permalink / raw)
  To: help-gnu-emacs

How would I write an elisp function that is active in eshell mode that does the following:
- queries current directory
- changes to the buffer named *shell*, (runs M-x shell to create it if it's no there)
- runs "cd <dir>" to drop me into the same dir that I was in in eshell

Thanks for any tips!
-ck


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-09 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 18:25 shortcut to take me from eshell to shell and preserve cwd ckhan
2014-05-09 18:53 ` Grant Rettke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).