From 1327593ce28f94c4ffe6bbf5fead8e820d3dbd41 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 22 Mar 2022 16:33:43 +0100 Subject: [PATCH] Make eshell link faces more distinctive on 8-color displays * lisp/eshell/em-ls.el (eshell-ls-directory): (eshell-ls-symlink): Make the faces be distinctive on 8-colour displays (bug#43615). --- lisp/eshell/em-ls.el | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index 846f3d5e290..874591d2501 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el @@ -100,15 +100,14 @@ faster and conserves more memory." :type 'boolean) (defface eshell-ls-directory - '((((class color) (background light)) (:foreground "Blue" :weight bold)) - (((class color) (background dark)) (:foreground "SkyBlue" :weight bold)) - (t (:weight bold))) - "The face used for highlighting directories.") + '((t (:inherit font-lock-function-name-face))) + "The face used for highlighting directories." + :version "29.1") (defface eshell-ls-symlink - '((((class color) (background light)) (:foreground "Dark Cyan" :weight bold)) - (((class color) (background dark)) (:foreground "Cyan" :weight bold))) - "The face used for highlighting symbolic links.") + '((t (:inherit font-lock-keyword-face))) + "The face used for highlighting symbolic links." + :version "29.1") (defface eshell-ls-executable '((((class color) (background light)) (:foreground "ForestGreen" :weight bold)) -- 2.39.5