diff options
| author | Michael Heerdegen | 2014-04-22 20:17:17 +0200 |
|---|---|---|
| committer | Christopher Schmidt | 2014-04-22 20:17:17 +0200 |
| commit | f2df692cd393d380e1ca51ef2c83eeaf66c82309 (patch) | |
| tree | 33c9de9f1958b7d9a1d4c8e536e165123228e988 | |
| parent | 2f999d5275f7aab04d9e1aedc35d7c33eba94e2d (diff) | |
| download | emacs-f2df692cd393d380e1ca51ef2c83eeaf66c82309.tar.gz emacs-f2df692cd393d380e1ca51ef2c83eeaf66c82309.zip | |
* 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)
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/dired.el | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a2cd739a53d..679c9ab51d7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de> | ||
| 2 | |||
| 3 | * dired.el (dired-insert-set-properties): Do not consider | ||
| 4 | subdirectory headings and empty lines to be information that | ||
| 5 | `dired-hide-details-mode' should hide. (Bug#17228) | ||
| 6 | |||
| 1 | 2014-04-22 Michael Albinus <michael.albinus@gmx.de> | 7 | 2014-04-22 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): | 9 | * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): |
diff --git a/lisp/dired.el b/lisp/dired.el index b3c67343a15..1cce5bc6665 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1250,9 +1250,11 @@ see `dired-use-ls-dired' for more details.") | |||
| 1250 | (while (< (point) end) | 1250 | (while (< (point) end) |
| 1251 | (ignore-errors | 1251 | (ignore-errors |
| 1252 | (if (not (dired-move-to-filename)) | 1252 | (if (not (dired-move-to-filename)) |
| 1253 | (put-text-property (line-beginning-position) | 1253 | (unless (or (looking-at-p "^$") |
| 1254 | (1+ (line-end-position)) | 1254 | (looking-at-p dired-subdir-regexp)) |
| 1255 | 'invisible 'dired-hide-details-information) | 1255 | (put-text-property (line-beginning-position) |
| 1256 | (1+ (line-end-position)) | ||
| 1257 | 'invisible 'dired-hide-details-information)) | ||
| 1256 | (put-text-property (+ (line-beginning-position) 1) (1- (point)) | 1258 | (put-text-property (+ (line-beginning-position) 1) (1- (point)) |
| 1257 | 'invisible 'dired-hide-details-detail) | 1259 | 'invisible 'dired-hide-details-detail) |
| 1258 | (add-text-properties | 1260 | (add-text-properties |