From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Change `customize-save-variable' to work under "emacs -Q"? Date: Mon, 11 Jul 2011 13:36:50 -0400 Message-ID: <877h7ok9cd.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310406500 3911 80.91.229.12 (11 Jul 2011 17:48:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 17:48:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 11 19:48:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgKab-0000i6-7T for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2011 19:48:13 +0200 Original-Received: from localhost ([::1]:47068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgKaa-0002sU-9C for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2011 13:48:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgKPh-0000FV-6A for emacs-devel@gnu.org; Mon, 11 Jul 2011 13:37:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgKPc-0000RI-4i for emacs-devel@gnu.org; Mon, 11 Jul 2011 13:36:56 -0400 Original-Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]:39859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgKPb-0000RD-Tz for emacs-devel@gnu.org; Mon, 11 Jul 2011 13:36:51 -0400 Original-Received: from furball (dhcp128036225145.central.yale.edu [128.36.225.145]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p6BHaoOa008523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 11 Jul 2011 13:36:51 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 10 Jul 2011 14:22:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.147 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141950 Archived-At: Lars Magne Ingebrigtsen writes: > If you run "emacs -Q", and you have a piece of code that calls > `customize-save-variable', it will error out, saying that it won't > overwrite the conf. > > Would anybody mind if I changed that function to not error out, but > instead just do a `setq' on the variable in question, if we're running > under -Q? I think this is fine.