Function: dired-initial-position
dired-initial-position is a byte-compiled function defined in
dired.el.gz.
Signature
(dired-initial-position DIRNAME)
Documentation
Where point should go in a new listing of DIRNAME.
Point is assumed to be at the beginning of new subdir line.
It runs the hook dired-initial-position-hook.
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
;; FIXME document whatever dired-x is doing.
(defun dired-initial-position (dirname)
"Where point should go in a new listing of DIRNAME.
Point is assumed to be at the beginning of new subdir line.
It runs the hook `dired-initial-position-hook'."
(end-of-line)
(and (featurep 'dired-x) dired-find-subdir
(dired-goto-subdir dirname))
(if dired-trivial-filenames (dired-goto-next-nontrivial-file))
(run-hooks 'dired-initial-position-hook))