summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/intercept
blob: 4725eaaf5a7d5b34e580c6d4873670ca96ae315a (plain) (blame)
1
2
3
4
5
6
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : intercept(classOf[T]) { ..}
# --
intercept(classOf[${1:Exception]}) {
  $0
}