Fix Dired face for directory symlinks

* lisp/dired.el (dired-font-lock-keywords): Fontify directory
symlinks with the value of dired-directory-face rather than its name
as a (nonexistent) face (bug#60977).
This commit is contained in:
Basil L. Contovounesios 2023-01-25 14:24:39 +00:00
parent 37454de0c8
commit c6613403e5

View file

@ -789,7 +789,7 @@ Subexpression 2 must end right before the \\n.")
'(dired-move-to-filename)
nil
'(1 dired-symlink-face)
'(2 '(face dired-directory-face dired-symlink-filename t))))
'(2 `(face ,dired-directory-face dired-symlink-filename t))))
;;
;; Symbolic link to a non-directory.
(list dired-re-sym