mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Support 'dired-hide-details-mode' in find-lisp.el
* lisp/find-lisp.el (find-lisp-find-dired-insert-file): Call 'dired-insert-set-properties' to support 'dired-hide-details-mode' in the resulting Dired display. (Bug#78455)
This commit is contained in:
parent
2606e3dd99
commit
e05f76667d
1 changed files with 10 additions and 8 deletions
|
|
@ -304,14 +304,16 @@ FILE is a file or a directory name.
|
|||
|
||||
This function heeds `dired-actual-switches'."
|
||||
(set-buffer buffer)
|
||||
(insert find-lisp-line-indent
|
||||
(find-lisp-format
|
||||
(propertize file 'dired-filename t)
|
||||
(file-attributes file 'string)
|
||||
(or (and dired-actual-switches
|
||||
(split-string-and-unquote dired-actual-switches))
|
||||
(list ""))
|
||||
nil)))
|
||||
(let ((pt (point)))
|
||||
(insert find-lisp-line-indent
|
||||
(find-lisp-format
|
||||
(propertize file 'dired-filename t)
|
||||
(file-attributes file 'string)
|
||||
(or (and dired-actual-switches
|
||||
(split-string-and-unquote dired-actual-switches))
|
||||
(list ""))
|
||||
nil))
|
||||
(dired-insert-set-properties pt (point))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Lifted from ls-lisp. We don't want to require it, because that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue