Replying to myself:

> When running, say, find-file while composing, the directory proposed by
> default is ~/
> If the line
> (setq post-force-pwd-to-home nil)
> is added to ~/.emacs.el, then the directory proposed by find-file & co is
> /tmp/
> 
> It'd be really convenient if the commands such as find-file could propose as
> their default the directory where mutt has been ran.

Adding the following line to ~/.emacs.el achieves the expected result:
(add-hook 'post-mode-hook (lambda () (cd (getenv "PWD"))))

Sébastien.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to