fmakunbound | Function |
fmakunbound name → name
[ ef makϵn bau̇nd ] or [ ef mākϵn bau̇nd ]
name — a function name.
Removes the function or macro definition, if any, of name in the global environment.
(defun add-some (x) (+ x 19)) → ADD-SOME (fboundp 'add-some) → true (flet ((add-some (x) (+ x 37))) (fmakunbound 'add-some) (add-some 1)) → 38 (fboundp 'add-some) → false
Should signal an error of type type-error if name is not a function name.
The consequences are undefined if name is a special operator.