Skip to content

Instantly share code, notes, and snippets.

@yonta
Created May 9, 2019 12:30
Show Gist options
  • Save yonta/aa56e2664830df8d2de89d9bef679e00 to your computer and use it in GitHub Desktop.
Save yonta/aa56e2664830df8d2de89d9bef679e00 to your computer and use it in GitHub Desktop.
test file
(defvar test-var 1)
(symbol-value 'test-var)
;; => 1
(defun f () test-var)
(symbol-function 'f)
;; => (lambda nil test-var)
(f)
;; => 1
(let* ((test-var 0)) (f))
;; => 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment