my-emacs-d/elpa/yasnippet-20160924.2001/snippets/emacs-lisp-mode/add-hook

8 lines
154 B
Plaintext
Raw Normal View History

# -*- mode: snippet; -*-
#contributor: Xah Lee (XahLee.org)
#name: add-hook
#key: add-hook
#key: ah
# --
(add-hook '${1:name}-hook ${2:'${3:function}})$0