mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 10:57:34 +00:00
(dired-insert-directory): Fix check for indentation from ls --dired.
This commit is contained in:
parent
a05c4c9de4
commit
9227ba33a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue