indentation, goto OPOINT instead of beginning of buffer.
+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.
;; 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)))