dired-revert

dired-revert is a compiled Lisp function in `dired.el'.

(dired-revert &optional ARG NOCONFIRM)

Reread the Dired buffer.
Must also be called after `dired-actual-switches' have changed.
Should not fail even on completely garbaged buffers.
Preserves old cursor, marks/flags, hidden-p.

Dired sets `revert-buffer-function' to this function. The args
ARG and NOCONFIRM, passed from `revert-buffer', are ignored.