Commit 1ba6c0f2 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(dired-insert-directory): When looking for existing

indentation, goto OPOINT instead of beginning of buffer.
parent 4a9f0fae
2002-10-13 Andreas Schwab <schwab@suse.de>
* dired.el (dired-insert-directory): When looking for existing
indentation, goto OPOINT instead of beginning of buffer.
2002-10-12 Michael Kifer <kifer@cs.stonybrook.edu>
 
* ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
......
......@@ -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
(beginning-of-buffer)
(goto-char opoint)
(looking-at " "))
(let ((indent-tabs-mode nil))
(indent-rigidly opoint (point) 2)))
......
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