aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 3c5905d2164..238aa377985 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -6697,15 +6697,12 @@ This variable is obsolete; Emacs no longer uses it."
6697 "27.1") 6697 "27.1")
6698 6698
6699(defun get-free-disk-space (dir) 6699(defun get-free-disk-space (dir)
6700 "Return the amount of free space on directory DIR's file system. 6700 "String describing the amount of free space on DIR's file system.
6701The return value is a string describing the amount of free
6702space (normally, the number of free 1KB blocks).
6703
6704If DIR's free space cannot be obtained, this function returns nil." 6701If DIR's free space cannot be obtained, this function returns nil."
6705 (save-match-data 6702 (save-match-data
6706 (let ((avail (nth 2 (file-system-info dir)))) 6703 (let ((avail (nth 2 (file-system-info dir))))
6707 (if avail 6704 (if avail
6708 (file-size-human-readable avail))))) 6705 (file-size-human-readable avail 'iec " ")))))
6709 6706
6710;; The following expression replaces `dired-move-to-filename-regexp'. 6707;; The following expression replaces `dired-move-to-filename-regexp'.
6711(defvar directory-listing-before-filename-regexp 6708(defvar directory-listing-before-filename-regexp