I would like to define a function that generates lambdas, as such:
(defun my-func (FUNCTION)
(lambda ()
(FUNCTION)))
But when I evaluate the following
(defun my-func1 ()
(message "Hello World"))
(funcall (my-func #'my-func1))
I am told that
Symbol's function definition is void: FUNCTION