Files
dotfiles/emacs/.emacs.d/snippets/emacs-lisp-mode/add-hook

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