(dired-insert-directory): Fix check for indentation from ls --dired.
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user