diff options
author | Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com> | 2022-11-05 08:27:50 -0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-11-10 12:05:59 +0200 |
commit | 7879eca247116745dc7ceaf45b1b93d618c5a217 (patch) | |
tree | 42772049b71b7c5d020ac9ebda1bc9cd7f4b1f6c /lisp/dired.el | |
parent | b4db61f5804b16f66acf1a824944b4ef1e32186d (diff) | |
download | emacs-7879eca247116745dc7ceaf45b1b93d618c5a217.tar.gz |
Make 'dired-hide-details-mode' work after 'dired-hide-subdir'
* lisp/dired.el (dired--unhide): Restore text properties.
(Bug#59047)
* test/lisp/dired-tests.el (dired-test-bugXXXX): New test.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r-- | lisp/dired.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 209e270942b..825d0e47508 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -3034,7 +3034,8 @@ See options: `dired-hide-details-hide-symlink-targets' and (remove-list-of-text-properties (progn (goto-char start) (line-end-position)) (progn (goto-char end) (line-end-position)) - '(invisible))))) + '(invisible)) + (dired-insert-set-properties start end)))) ;;; Functions for finding the file name in a dired buffer line |