]> git.eshelyaron.com Git - emacs.git/commitdiff
* files.el (directory-free-space-args): Don't use -P on Darwin.
authorAndreas Schwab <schwab@suse.de>
Sun, 30 Jun 2002 14:42:19 +0000 (14:42 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 30 Jun 2002 14:42:19 +0000 (14:42 +0000)
* term/mac-win.el: Don't set it here.

lisp/ChangeLog
lisp/files.el
lisp/term/mac-win.el

index 5a7455464a103596ce35606e686e8a848d21a995..1a7d93ab4247763998bf015b1712b3cd9a466618 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-30  Andreas Schwab  <schwab@suse.de>
+
+       * files.el (directory-free-space-args): Don't use `-P' on Darwin.
+       * term/mac-win.el: Don't set it here.
+
 2002-06-29  Andreas Schwab  <schwab@suse.de>
 
        * term/mac-win.el: Use directory-free-space-program instead of
index 5c1396fc7b2d268101aef04d0e9689ebdf675d18..0488c7a984775f00eb97cfc17d7fba4065d404f1 100644 (file)
@@ -3770,7 +3770,8 @@ preference to the program given by this variable."
   :type '(choice (string :tag "Program") (const :tag "None" nil))
   :group 'dired)
 
-(defcustom directory-free-space-args "-Pk"
+(defcustom directory-free-space-args
+  (if (eq system-type 'darwin) "-k" "-Pk")
   "*Options to use when running `directory-free-space-program'."
   :type 'string
   :group 'dired)
index 2465126dbd6a2ff7a0451b10a672b48f23f4f990..a9ac12f085e803dda0eb8d33cde79d334146e07d 100644 (file)
 ;; Don't have this yet.
 (fset 'x-get-resource 'ignore)
 
-(if (eq system-type 'darwin)
-    ;; df on Darwin does not understand -P
-    (setq directory-free-space-args "-k")
-
+(unless (eq system-type 'darwin)
   ;; This variable specifies the Unix program to call (as a process) to
   ;; deteremine the amount of free space on a file system (defaults to
   ;; df).  If it is not set to nil, ls-lisp will not work correctly