help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to rescind a defun?


From: Barry Margolin
Subject: Re: How to rescind a defun?
Date: Fri, 18 May 2012 18:16:41 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <mailman.1365.1337373409.855.help-gnu-emacs@gnu.org>,
 "Drew Adams" <drew.adams@oracle.com> wrote:

> > If, during an Emacs session, one evaluates a defun that 
> > (inadvertently) redefines an existing function, is it
> > possible to undo this?
> 
> See function `fmakunbound'.

That will remove the new definition, but not restore the old one.

The only way to do that is to find the old definition and evaluate it.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

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