Function: cl-function
cl-function is an autoloaded macro defined in cl-macs.el.gz.
Signature
(cl-function FUNC)
Documentation
Introduce a function.
Like normal function, except that if argument is a lambda form,
its argument list allows full Common Lisp conventions.
Aliases
function* (obsolete since 27.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-macs.el.gz
;;;###autoload
(defmacro cl-function (func)
"Introduce a function.
Like normal `function', except that if argument is a lambda form,
its argument list allows full Common Lisp conventions."
(declare (debug (&or symbolp cl-lambda-expr)))
(if (eq (car-safe func) 'lambda)
`(function (lambda . ,(cl--transform-lambda (cdr func) 'cl-none)))
`(function ,func)))