Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Mergetool generating blank files (1.5.3)

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:37

"Kelvie Wong" [off-list ref] writes:
On 9/27/07, Theodore Tso [off-list ref] wrote:
quoted
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 :(
It does.  For every buffer.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help