summaryrefslogtreecommitdiff
path: root/snippets/emacs-lisp-mode/add-hook
blob: 1fcf9956efda5e6e3bb1aa50fc502b43c155e504 (plain)
1
2
3
4
5
# -*- mode: snippet -*-
# name: add-hook
# key: hook
# --
(add-hook '${1:mode-to-hook-on} '${2:function})
Copyright 2019--2024 Marius PETER