emacs-devel
[Top][All Lists]
Advanced

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

How to setup a simple face in 24.2


From: Thierry Volpiatto
Subject: How to setup a simple face in 24.2
Date: Tue, 21 Aug 2012 18:28:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Hi, the title says all.
I have this face that behave differently in customize interface
depending the emacs version I use:

#+BEGIN_SRC lisp
(defface helm-grep-file
    '((t (:foreground "BlueViolet"
          :underline t)))
  "Face used to highlight grep results filenames."
  :group 'helm-grep)

#+END_SRC

emacs-24.1:

--8<---------------cut here---------------start------------->8---
Hide Helm Grep File face: [sample]
    State : STANDARD.
   Face used to highlight grep results filenames.
   [X] Underline: Value Menu On
   [X] Foreground: BlueViolet  Choose   (sample)
   Show All Attributes
--8<---------------cut here---------------end--------------->8---

emacs-24.2:

--8<---------------cut here---------------start------------->8---
Hide Helm Grep File face: [sample]
    State : STANDARD.
   Face used to highlight grep results filenames.
Lisp expression: 
((t
  (:underline t :foreground "BlueViolet")))
--8<---------------cut here---------------end--------------->8---

Thanks.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




reply via email to

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