+--- lisp/ChangeLog +++ lisp/ChangeLog @@ -1,3 +1,9 @@ +2014-04-21 Michael Heerdegen + + * dired.el (dired-insert-set-properties): Do not consider + subdirectory headings and empty lines to be information that + `dired-hide-details-mode' should hide. (Bug#17228) + 2014-04-20 Michael Albinus * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if --- lisp/dired.el +++ lisp/dired.el @@ -1250,9 +1250,11 @@ (while (< (point) end) (ignore-errors (if (not (dired-move-to-filename)) - (put-text-property (line-beginning-position) - (1+ (line-end-position)) - 'invisible 'dired-hide-details-information) + (unless (or (looking-at-p "^$") + (looking-at-p dired-subdir-regexp)) + (put-text-property (line-beginning-position) + (1+ (line-end-position)) + 'invisible 'dired-hide-details-information)) (put-text-property (+ (line-beginning-position) 1) (1- (point)) 'invisible 'dired-hide-details-detail) (add-text-properties