Skip to content

Instantly share code, notes, and snippets.

@PhilHudson
Created March 25, 2015 23:36
Show Gist options
  • Save PhilHudson/ab133b106c197b04ce74 to your computer and use it in GitHub Desktop.
Save PhilHudson/ab133b106c197b04ce74 to your computer and use it in GitHub Desktop.
# -*- mode: snippet -*-
# name: add-to-list
# key: atl
# --
(add-to-list '${1:list} ${2:element}${3: ${4:&optional append-flag$$(yas-choose-value '("nil" "'append"))}${5: #'${6:compare-fn}}})$0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment