mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* files.el (directory-free-space-args): Don't use -P on Darwin.
* term/mac-win.el: Don't set it here.
This commit is contained in:
parent
7e30f58e10
commit
525fdbc9c8
3 changed files with 8 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -104,10 +104,7 @@
|
|||
;; 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue