From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: re-defvar a variable without reloading emacs Date: Sat, 13 Jun 2009 09:15:38 -0400 Message-ID: References: <4A33A0BF.6030701@mousecar.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1244899858 27796 80.91.229.12 (13 Jun 2009 13:30:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 13:30:58 +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 Jun 13 15:30:56 2009 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 1MFTJu-0003Cf-Ov for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 15:30:54 +0200 Original-Received: from localhost ([127.0.0.1]:60002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFTJt-00023K-U6 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 09:30:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFTJW-0001zz-IL for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 09:30:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFTJS-0001xf-Bj for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 09:30:29 -0400 Original-Received: from [199.232.76.173] (port=53926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFTJR-0001xZ-LH for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 09:30:25 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:60362) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFTJR-0006ut-8A for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 09:30:25 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MFT58-000640-Av for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 09:15:38 -0400 In-reply-to: <4A33A0BF.6030701@mousecar.com> (message from ken on Sat, 13 Jun 2009 08:51:11 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:65245 Archived-At: > Date: Sat, 13 Jun 2009 08:51:11 -0400 > From: ken > Reply-To: gebser@mousecar.com > > > I've got a defvar'd variable in my .emacs which I want to redefine. But > rerunning (defvar somevar "someval") doesn't work... according to the > docs, this is the correct behavior. So is there some way to redefine > this variable without reloading the whole of emacs? Use setq.