title: in Emacs, how to enable automatic hiding of dired details?
body: <p>I use a library called dired-details and dired-details+ to simplify dired's display, such that a line like this:</p>
  
  <pre><code>-rw-r--r--@  1 peter  staff  22571 Apr 15 16:05 foo.txt
  </code></pre>
  
  <p>displays like this: </p>
  
  <pre><code>foo.txt
  </code></pre>
  
  <p>However, I have another function, which places all directories at the top of the list:</p>
  
  <pre><code>(defun mydired-sort ()
  "Sort dired listings with directories first."
  (save-excursion
   (let (buffer-read-only)
    (forward-line 2) ;; beyond dir. header
    (sort-regexp-fields t "^.*$" "[ ]*." (point) (point-max)))
  (set-buffer-modified-p nil)))
  
  (defadvice dired-readin
  (after dired-after-updating-hook first () activate)
   "Sort dired listings with directories first before adding marks."
   (mydired-sort))
  </code></pre>
  
  <p>and this second function interferes with dired-details, such that when I <kbd>C-x d</kbd> to open a dired buffer, the initial display shows the full extraneous details. Only by pressing <kbd>g</kbd> to <code>revert-buffer</code> to refresh the display do the directory details become hidden. </p>
  
  <p>How do I enable hiding of dired details by default in all dired displays?</p>