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: Sun, 24 Nov 2002 15:56:21 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Astrid Kuhr <kuhr@ica1.uni-stuttgart.de> writes:

> Hello!
>
> Thank you for the information.
>> 
>> (defface font-lock-dired-link-face
>>   '((t (:foreground "Firebrick" :bold t)))
>>   "Face used for symlinks in dired.")
>
> I tried this:
>
> (defface ak-dir-face
>   '((t (:foreground "Firebrick" :bold t)))
>   "Face used for directories in dired.")
>
> (let*()
>   (setq 
>    dired-font-lock-keywords 
>    (list '("^..d.* \\([^ ]+\\)$" . ak-dir-face))
>   )
> )
>
> But then I get the errormessage: Symbols value as
> variable is void: ak-dir-face.
>
> Must I add something else?

Oh, boy.  This shouldn't happen.  Anyway, maybe you can work around
it by including

    (defvar ak-dir-face 'ak-dir-face)

together with the defface statement.

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


reply via email to

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