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

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

bug#2631: get-free-disk-space when default-directory doesn't exist


From: Kevin Ryde
Subject: bug#2631: get-free-disk-space when default-directory doesn't exist
Date: Thu, 12 Mar 2009 08:00:10 +1100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> why not bind default-directory to dir?

I think that'd make it error out on a non-existant dir argument, where
currently it returns nil (from the df parsing code, and it looks like
from file-system-info in dosfns.c).

There's a few other places binding to "/", like man.el and message.el,
if it ought to be something else ...






reply via email to

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