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

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

Re: How to delete/unbind a name defined in Emacs Lisp?


From: David Kastrup
Subject: Re: How to delete/unbind a name defined in Emacs Lisp?
Date: 06 Jan 2004 13:08:11 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

WANG Wei <wangwei_org@sina.com> writes:

> Hello all!
> 
> When we say (defun xxx () ...), we introduce a new name "xxx" in
> Emacs. A lot of such names will dirty the global name space. So I
> wonder how to delete names that I don't need any more.

Why do you create them in the first place?  If you need a function
just temporarily, you can create it ad-hoc with lambda:

((lambda (x y) (+ x (* 2 y))) 3 4)   =>  11

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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