summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/intercept
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/intercept6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/scala-mode/intercept b/emacs.d/snippets/text-mode/scala-mode/intercept
new file mode 100644
index 0000000..4725eaa
--- /dev/null
+++ b/emacs.d/snippets/text-mode/scala-mode/intercept
@@ -0,0 +1,6 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : intercept(classOf[T]) { ..}
+# --
+intercept(classOf[${1:Exception]}) {
+ $0
+} \ No newline at end of file