(dired-insert-directory): Fix check for indentation from ls --dired.

This commit is contained in:
André Spiegel 2002-10-10 22:30:26 +00:00
parent a05c4c9de4
commit 9227ba33a0

View file

@ -701,7 +701,7 @@ If HDR is non-nil, insert a header line with the directory name."
;; If we used --dired and it worked, the lines are already indented.
;; Otherwise, indent them.
(unless (save-excursion
(forward-line -1)
(beginning-of-buffer)
(looking-at " "))
(let ((indent-tabs-mode nil))
(indent-rigidly opoint (point) 2)))