Commit 7ad0c1c3 authored by Eli Zaretskii's avatar Eli Zaretskii

(insert-directory): Modify the "total" line wording, in accordance with

files.el's insert-directory.
parent 34ef66ac
2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
* ls-lisp.el (insert-directory): Modify the "total" line wording,
in accordance with files.el's insert-directory.
2001-12-29 Richard M. Stallman <rms@gnu.org>
* files.el (basic-save-buffer): If a before-write hook displays
......
......@@ -208,8 +208,8 @@ that work are: A a c i r S s t u U X g G B C R and F partly."
(when (re-search-forward "^total" nil t)
(let ((available (get-free-disk-space ".")))
(when available
;; Replace "total" with "used", to avoid confusion.
(replace-match "used")
;; Replace "total" with "total used", to avoid confusion.
(replace-match "total used in directory")
(end-of-line)
(insert " available " available)))))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment