all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to turn custome-set-faces to plain elisp?
@ 2009-03-04  3:27 Xah Lee
  0 siblings, 0 replies; only message in thread
From: Xah Lee @ 2009-03-04  3:27 UTC (permalink / raw)
  To: help-gnu-emacs

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/^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-04  3:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04  3:27 how to turn custome-set-faces to plain elisp? Xah Lee

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.