Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell-wk
Created January 17, 2018 21:31
Show Gist options
  • Save dustinlacewell-wk/e020eb0ac20aefafb34b54f143ef2942 to your computer and use it in GitHub Desktop.
Save dustinlacewell-wk/e020eb0ac20aefafb34b54f143ef2942 to your computer and use it in GitHub Desktop.
(cl-loop for li in list
for (field value) = (ignore-errors
(-let (((_ _ (_ _ field) value) li))
(list field value)))
when (equal field target-field)
return (s-trim value))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment