Can Emacs Lisp assign a lambda form to a variable like Scheme?
问题 While investigating Emacs Lisp's symbol cells, I found out that for an example function like (defun a (&rest x) x) I can call (symbol-function 'a) , which returns (lambda (&rest x) x) . I can then use it if I want > ((lambda (&rest x) x) 1 2 3 4 5) (1 2 3 4 5) which has the same functionality as the original function above. Now, this reminds me of Scheme where a lambda expression is the body of the function and is assigned to a variable name with Scheme's all-purpose define . For example