]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Dired face for directory symlinks
authorBasil L. Contovounesios <contovob@tcd.ie>
Wed, 25 Jan 2023 14:24:39 +0000 (14:24 +0000)
committerBasil L. Contovounesios <contovob@tcd.ie>
Wed, 25 Jan 2023 14:32:42 +0000 (14:32 +0000)
* 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).

lisp/dired.el

index 42d15f27a543f8a573f5652d9d61aa51fdeb255b..2bcb28a0e00d5dd514f97a91ac1aa69b68221f7d 100644 (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