Skip to content

Instantly share code, notes, and snippets.

@suhailshergill
Last active January 25, 2016 05:31
Show Gist options
  • Save suhailshergill/c5f76a5f040fc30ccfba to your computer and use it in GitHub Desktop.
Save suhailshergill/c5f76a5f040fc30ccfba to your computer and use it in GitHub Desktop.
invoking macro within loop
(dolist (pkg '(s))
(message "%s" pkg) ;; this will print "s"
(eval `(use-package ,pkg)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment