Added customization for dired-mode.