From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: Replacing custom-set-variables Date: Sat, 13 Sep 2008 23:13:53 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <87myibregu.fsf@kobe.laptop> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221338491 10998 80.91.229.12 (13 Sep 2008 20:41:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 20:41:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 22:42:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kebwn-00010K-Oe for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 22:42:25 +0200 Original-Received: from localhost ([127.0.0.1]:34566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kebvn-0002AP-9y for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 16:41:23 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news-fra1.dfn.de!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Cancel-Lock: sha1:PEm+d/HixaNiCJr9GTy8+dCYUV8= Original-Lines: 25 Original-NNTP-Posting-Host: 77.49.55.113 Original-X-Trace: news.sunsite.dk DXC=11aZ0e9Vjf_@?1\co7LeeXYSB=nbEKnk[ebg1>^?UCAZL^MjWbH?lJH1Tkj\kj`B2@9TWP_5XG^nL0YPcR Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:162197 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57539 Archived-At: On Sat, 13 Sep 2008 14:19:52 -0300, Mauricio wrote: > Hi, > > In .emacs I have a few variables defined using: > > (custom-set-variables > '(var1 val1) > '(var2 val2) > '(var3 val3)) > > How can I define those same variables in .emacs > without using custom-set-variables? You can always use `setq-default', either in one call: (setq-default var1 val1 var2 val2 var3 val3) or multiple calls: (setq-default var1 val1) (setq-default var2 val2) (setq-default var3 val3)