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

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

how to turn custome-set-faces to plain elisp?


From: Xah Lee
Subject: how to turn custome-set-faces to plain elisp?
Date: Tue, 3 Mar 2009 19:27:09 -0800 (PST)
User-agent: G2/1.0

2 questions.

(1) In emacs's init file, if i have

(custom-set-variables
 '(xyz t)
)

how do i know if xyz is set to to t, or is it function with first arg
t?

looking into this, it's probably all variables. But then does that
mean all minor modes has a var, such that when set, it turns on the
minor mode on automatically?

Second question is, in emacs init file:

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(completions-first-difference ((t (:inherit bold :foreground
"red"))))
 '(pp^L-highlight ((((type x w32 mac graphic) (class color))
(:underline "maroon"))))
 '(show-paren-match ((((class color) (background light)) (:background
"azure2")))))

How do i do the same in elisp without using custom-set-faces?

Prob some set-face-*, but not sure which one.

Thanks.

  Xah
∑ http://xahlee.org/

reply via email to

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