emacs-devel
[Top][All Lists]
Advanced

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

Re: grep-mode should print default-directory (again)


From: Nick Roberts
Subject: Re: grep-mode should print default-directory (again)
Date: Sat, 14 Apr 2007 09:54:43 +1200

 > > I reverted to setting and saving default-directory.  I guess there is
 > > the risk isn't considerable (or at least no worse than what we had in
 > > Emacs 21).
 > 
 > Huh?  In Emacs-21, the default-directory was not set, so it didn't suffer
 > from any of the nasty side effects of setting it.

default-directory is a buffer-local variable while compilation-directory is
not.  Why not just print default-directory at the top of the grep buffer
rather than make it file local (who saves these buffers anyway?).

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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