all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Setting (site) defaults for customization options?
@ 2005-05-16 11:18 David Reitter
  0 siblings, 0 replies; 2+ messages in thread
From: David Reitter @ 2005-05-16 11:18 UTC (permalink / raw)


Hi,

how do I set different defaults in a site init file for things like  
blink-cursor-mode?
I want the end-user to be able to change the setting and use "Save  
Options" to save them to .emacs.

Right now, I can set blink-cursor-mode, but it isn't saved to .emacs  
because it is not different from the default. I tried (setq-default  
blink-cursor-mode t) - to no avail.

Is this a bug, or what am I doing wrong? (I also tried (put 'blink- 
cursor-mode 'standard-value t)).

Thanks for your help.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting (site) defaults for customization options?
@ 2005-05-19  8:48 David Reitter
  0 siblings, 0 replies; 2+ messages in thread
From: David Reitter @ 2005-05-19  8:48 UTC (permalink / raw)


I wrote:

> how do I set different defaults in a site init file for things like  
> blink-cursor-mode?
> I want the end-user to be able to change the setting and use "Save  
> Options" to save them to .emacs.


The solution is similar to what I've tried earlier, and it is not  
documented as far as I could see - I only found out when going  
through some source files.

This sets the standard value

(put 'blink-cursor-mode 'standard-value (list blink-cursor-mode))

You'll need to set the current value, too, of course.


Good source of information:

http://ecb.sourceforge.net/docs/Site-wide-customizing.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-19  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  8:48 Setting (site) defaults for customization options? David Reitter
  -- strict thread matches above, loose matches on Subject: below --
2005-05-16 11:18 David Reitter

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.