all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* override defcustom
@ 2002-08-30 14:46 Bruce Ingalls
  2002-08-31 16:19 ` Kai Großjohann
  0 siblings, 1 reply; 10+ messages in thread
From: Bruce Ingalls @ 2002-08-30 14:46 UTC (permalink / raw)


I'd like to override the system defcustom defaults, in a way that users 
can override my override.

Example:
{ignoring that modern X/Emacs now properly default 
font-lock-maximum-decoration = t}

I can set font-lock-maximum-decoration to t by
(custom-set-default font-lock-maximum-decoration t)
  "Toggle max colors for all modes."
   :group 'emacro
   :type 'boolean)

This works, except that now users who don't want max decoration, must 
now set it to nil in 2 places: the emacro and the original font-lock groups.

I tried some alternatives, such as

customize-set-variable()
and
custom-set-default()

but they don't byte-compile or eval properly.
Is it possible to customizably set these variables?
Thanks ahead, Bruce

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <mailman.5233.1051378760.21513.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2003-05-05  0:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-30 14:46 override defcustom Bruce Ingalls
2002-08-31 16:19 ` Kai Großjohann
2002-09-01  3:27   ` Bruce Ingalls
2002-09-01 18:36     ` Kai Großjohann
2002-09-02 14:32       ` Kai Großjohann
2002-09-03  5:44         ` Bruce Ingalls
2002-09-03 13:04           ` Kai Großjohann
2003-04-26  5:49           ` why `view-lossage' is called so? Janusz S. Bień
2003-04-26 17:38             ` drf5n
     [not found] <mailman.5233.1051378760.21513.help-gnu-emacs@gnu.org>
2003-05-05  0:49 ` Bob Nelson

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.