emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs Installer for MS Windows


From: David Kastrup
Subject: Re: Emacs Installer for MS Windows
Date: 26 Aug 2004 20:35:34 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"Lennart Borgman" <address@hidden> writes:

> > > I turn on the options just as if the user had used "Options -
> > > Customize Emacs" so I do not believe it is a problem.
> >
> > Huh?  How do you do that?  If you call custom-set-variables in
> > site-start.el or default.el, it won't be the same as if you called
> > it in .emacs because the user has no way to change those settings
> > AFAIK.  Have you tried it?
> 
> I do it by calling emacs this way
> 
>     emacs.exe -l set-vars.el -f kill-emacs
> 
> where set-vars.el contains something like
> 
>     (put 'custom-var 'saved-value (list "custom value"))
>     (custom-save-all)
> 
> As Stefan has pointed out to me this will only affect the user that is
> installing Emacs. However I think that is no big problem on ms windows.

(customize-set-value 'custom-var "custom value")
...
(customize-save-customized)

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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