Add URL to Elisp code

This commit is contained in:
Bram Schoenmakers 2022-12-13 18:41:51 +01:00
parent a236e2cd2f
commit f8171b29e9

View file

@ -301,11 +301,10 @@ My vertico-repeat setup.
")")))))
,#+end_example
* Define a lambda in a let expression
:PROPERTIES:
:URL: https://stackoverflow.com/questions/36039840/elisp-bind-a-lambda-in-a-let-and-execute-it
:END:
#+begin_src elisp :tangle gists/let-lambda.el
;; https://stackoverflow.com/questions/36039840/elisp-bind-a-lambda-in-a-let-and-execute-it
(let ((f (lambda (s) (message s))))
;; f is a variable so should be treated as such.
(funcall f "This works.")