* 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)
This commit is contained in:
Michael Heerdegen 2014-04-22 20:17:17 +02:00 committed by Christopher Schmidt
parent 2f999d5275
commit f2df692cd3
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
* 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-22 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):

View file

@ -1250,9 +1250,11 @@ see `dired-use-ls-dired' for more details.")
(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