[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customize Rogue
From: |
Kim F. Storm |
Subject: |
Re: Customize Rogue |
Date: |
10 Mar 2003 16:18:45 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Per Abrahamsen <address@hidden> writes:
> 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.
>
And I think it was exactly what was asked for -- except for the name.
I like custom-set (or custom-setq) better, as is emphasizes that
this does indeed work just as if the variable was set interactively
through customize (as the doc string of some variables say is
required).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Customize Rogue, (continued)
- Re: Customize Rogue, Per Abrahamsen, 2003/03/06
- Re: Customize Rogue, Robert J. Chassell, 2003/03/07
- Re: Customize Rogue, Luc Teirlinck, 2003/03/07
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Per Abrahamsen, 2003/03/10
- Re: Customize Rogue,
Kim F. Storm <=
- Re: Customize Rogue, Luc Teirlinck, 2003/03/10
- Re: Customize Rogue, Kai Großjohann, 2003/03/10
- Re: Customize Rogue, Per Abrahamsen, 2003/03/12
Re: Customize Rogue, Richard Stallman, 2003/03/07
- Re: Customize Rogue, Juanma Barranquero, 2003/03/08
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Juanma Barranquero, 2003/03/09
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Juanma Barranquero, 2003/03/09
- Re: Customize Rogue, Robert J. Chassell, 2003/03/09