Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1ba6c0f2
Commit
1ba6c0f2
authored
Oct 12, 2002
by
Andreas Schwab
Browse files
(dired-insert-directory): When looking for existing
indentation, goto OPOINT instead of beginning of buffer.
parent
4a9f0fae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/dired.el
lisp/dired.el
+1
-1
No files found.
lisp/ChangeLog
View file @
1ba6c0f2
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.
...
...
lisp/dired.el
View file @
1ba6c0f2
...
...
@@ -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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment