help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to color full line in dired


From: Kai Großjohann
Subject: Re: How to color full line in dired
Date: Sat, 23 Nov 2002 22:22:42 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Astrid Kuhr <a.kuhr@web.de> writes:

>  (defvar font-lock-face-attributes                                     
>  (list
>   ;;                                 
>   (list 'font-lock-dired-link-face "Firebrick"        nil nil t   nil)
>   (list 'font-lock-dired-trash-face "ForestGreen"     nil nil nil nil)
>   (list 'font-lock-dired-header-face "tomato"         nil t   nil nil)
>   (list 'font-lock-dired-dir-face "blue"              nil nil nil nil)
>   )
>  )

I think in Emacs 20 and higher it is useful to use defface to define
these faces.  For example,

(defface font-lock-dired-link-face
  '((t (:foreground "Firebrick" :bold t)))
  "Face used for symlinks in dired.")

I forget what was the meaning for all those booleans after the fg
color, but I think you get the idea.

Does this help?

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]