[gnu.emacs.help] `let' question

worley@compass.com (Dale Worley) (10/12/90)

   From: think!news@ux1.cso.uiuc.edu  (Ed Reingold)

   Does the let mechanism in GNU Emacs Lisp allow a function to be redefined
   in the same way a variable can be?  I want to do something like this:

No.  The "function" of a symbol is different from its "value", and let
only binds values.  Of course, you can do something like:

(let (temp)
  (setq temp (symbol-function 'silly))
  (fset 'silly (symbol-function 'ridiculous))
  ...
  (fset 'silly temp))

Dale Worley		Compass, Inc.			worley@compass.com
--
I don't even know what street Canada is on.  -- Al Capone