Fix wdired entry when there are hidden subdirs
* lisp/dired.el (dired--unhide): Allow `C-c C-q' to work when there are hidden inserted subdirs (bug#56698).
This commit is contained in:
parent
e5de76b72e
commit
df667e9f17
1 changed files with 5 additions and 4 deletions
|
@ -2964,10 +2964,11 @@ See options: `dired-hide-details-hide-symlink-targets' and
|
|||
;; approximate ("anywhere on the line is fine").
|
||||
;; FIXME: This also removes other invisible properties!
|
||||
(save-excursion
|
||||
(remove-list-of-text-properties
|
||||
(progn (goto-char start) (line-end-position))
|
||||
(progn (goto-char end) (line-end-position))
|
||||
'(invisible))))
|
||||
(let ((inhibit-read-only t))
|
||||
(remove-list-of-text-properties
|
||||
(progn (goto-char start) (line-end-position))
|
||||
(progn (goto-char end) (line-end-position))
|
||||
'(invisible)))))
|
||||
|
||||
;;; Functions for finding the file name in a dired buffer line
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue