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

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

Re: save-buffer sets global 'dir' variable to nil


From: Stefan Monnier
Subject: Re: save-buffer sets global 'dir' variable to nil
Date: 05 Nov 2001 19:11:56 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

>>>>> "Jonas" == Jonas Jarnestrom <erajonj@ki.ericsson.se> writes:
> Perhaps not a show stopper, but not a clean behavior.
> I first thought my code was erring, but it turned out to be
> save-buffer that fucked up my 'dir' argument.
[...]
> (setq dir "jonas")
> (save-buffer)
> dir  ; evaluates to nil

I can't reproduce this problem here: `dir' is still "jonas".
I suspect that the problem is inside a write-contents-hooks
or write-file-hooks or...


        Stefan



reply via email to

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