On 9/27/07, Theodore Tso <tytso@xxxxxxx> wrote: > It's not that emacs sets $PWD via its first argument, but the output > file is passed from emerge-files*-command to stashed in the per-buffer > variable emerge-file-out, which in turn gets passed to the emacs lisp > file write-file, which is what gets run when you run C-x C-w --- and > write-file interprets a relative pathname based on the containing > directory of the existing buffer. > - Ted > Ah yes, I just started reading up on elisp a little while ago :) I'd always assumed that emacs kept an internal "pwd" variable (i.e. what's displayed with M-x pwd), but I guess my way of thinking is archaic and deprecated :( -- Kelvie - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html