Commit 3dfdd476 authored by Frode Vatvedt Fjeld's avatar Frode Vatvedt Fjeld
Browse files

run-time defun

parent b5bd4d11
Loading
Loading
Loading
Loading
+6 −1
Changes for losp/muerte/more-macros.lisp: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
;;;; Author:        Frode Vatvedt Fjeld <frodef@acm.org>
;;;; Created at:    Fri Jun  7 15:05:57 2002
;;;;                
;;;; $Id: more-macros.lisp,v 1.45 2008/04/19 12:44:40 ffjeld Exp $
;;;; $Id: more-macros.lisp,v 1.46 2008/04/27 19:43:18 ffjeld Exp $
;;;;                
;;;;------------------------------------------------------------------

@@ -586,3 +586,8 @@ respect to multiple threads."

(defmacro movitz-macroexpand-1 (&rest args)
  `(macroexpand-1 ,@args))

(defmacro/run-time defun (name lambda-list &body body)
  `(setf (symbol-function ',name)
	 (install-funobj-name ',name
			      (lambda ,lambda-list ,@body))))