DEFUN was still missing from the functions where REGISTER-WITH-PDE is used

This commit is contained in:
Juan Jose Garcia Ripoll 2008-07-12 19:11:44 +02:00
parent 2f8778a245
commit d2a9486aa6
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ Returns, as a string, the location of the machine on which ECL runs."
(defun lisp-implementation-version ()
"Args:()
Returns the version of your ECL as a string."
"@PACKAGE_VERSION@ (CVS 2008-06-19 17:09)")
"@PACKAGE_VERSION@ (CVS 2008-07-12 18:54)")
(defun machine-type ()
"Args: ()

View file

@ -12,7 +12,7 @@
(in-package "SYSTEM")
(defmacro defun (name vl &body body &aux doc-string)
(defmacro defun (&whole whole name vl &body body &aux doc-string)
"Syntax: (defun name lambda-list {decl | doc}* {form}*)
Defines a global function named by NAME.
The complete syntax of a lambda-list is:
@ -36,7 +36,7 @@ retrieved by (documentation 'NAME 'function)."
(eval-when (:execute)
(si::fset ',name ,function))
(eval-when (:load-toplevel)
(si::fset ',name ,global-function))
,(ext:register-with-pde whole `(si::fset ',name ,global-function)))
,@(si::expand-set-documentation name 'function doc-string)
',name)))