emacs-devel
[Top][All Lists]
Advanced

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

Re: Change `customize-save-variable' to work under "emacs -Q"?


From: Lars Magne Ingebrigtsen
Subject: Re: Change `customize-save-variable' to work under "emacs -Q"?
Date: Mon, 11 Jul 2011 21:28:33 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> But, on reflection, maybe
>
>   (ignore-errors (customize-save-variable ...))
>
> would work just as well.

Well, ignoring errors like that is generally not a good idea.  If saving
the .emacs file errors out, you want to know, for instance.

And it doesn't set the variables in question if you do that.

I think just making `customize-save-variable' set and warn will make the
"emacs -Q" special case work nicely for all use cases.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




reply via email to

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