[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How change value of any variable at run time? (not just in.emacs w/
From: |
Drew Adams |
Subject: |
RE: How change value of any variable at run time? (not just in.emacs w/ setq!) |
Date: |
Wed, 17 Dec 2008 13:14:48 -0800 |
> > How change value of any variable at run time? (not just in .emacs)
> > I can use setq in .emacs but I don't know about run time.
>
> M-x set-variable
No. `set-variable' is only for user options.
You can use `set-any-variable', from simple+.el to set any variable.
http://www.emacswiki.org/emacs/simple%2b.el
> You can also evaluate any code with M-: so this also works:
>
> M-: (setq variable ...)
Yes.
See also `setq-default'.