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

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

How define onw face and use it?


From: Astrid Kuhr
Subject: How define onw face and use it?
Date: Sun, 24 Nov 2002 12:45:40 +0100

Hello!

I tried to make an onw face and to use it.

(make-face 'ak-dir-face)
(set-face-foreground 'ak-dir-face "blue")
(set-face-bold-p 'ak-dir-face t)

(let*()
  (setq 
   dired-font-lock-keywords 
   (list '("^..d.* \\([^ ]+\\)$" . ak-dir-face))
  )
)

There is no errormessage, but it dont work.
If I look in the list of the faces I see
the "ak-dir-face".

But nothing is highlighted in the specified
face.
(If I choose another facename at the setq, the
setq works).

What did I make wrong?

Regards, Astrid


reply via email to

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