Skip to content

Commit 7e94721

Browse files
committed
function-lambda-list
1 parent d31c48f commit 7e94721

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/documentation.lisp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
(error "The type of documentation `~S' is not a symbol." type))
1515
(oget x "vardoc"))))
1616

17+
(defun function-lambda-list (function)
18+
"Return the lambda-list of FUNCTION."
19+
(read-from-string (oget (fdefinition function) "lambdalist")))
1720

1821
;;; APROPOS and friends
1922

0 commit comments

Comments
 (0)