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