emacs-devel
[Top][All Lists]
Advanced

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

Re: Customize Rogue


From: Per Abrahamsen
Subject: Re: Customize Rogue
Date: Mon, 10 Mar 2003 15:09:31 +0100
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8)

Luc Teirlinck <address@hidden> writes:

> Would that be a lot more difficult than say:
>
> (defun set-activate (variable value)
>   "Sets variable to value.  If there is a set-function, calls it."
>   (custom-load-symbol variable)
>   (funcall (or (get variable 'custom-set) 'set-default) variable value)) 
>  
> To be used like:
>
> (set-activate 'tool-bar-mode t)

I think that would be an excellent addition to custom.el.





reply via email to

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