summaryrefslogtreecommitdiff
path: root/snippets/emacs-lisp-mode/add-hook
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2020-11-10 18:59:44 -0800
committerBlendoit <blendoit@gmail.com>2020-11-10 18:59:44 -0800
commit942f394906eacbc13744d2fb82418e1302895265 (patch)
tree8b9ab396305629714948627a50b49cb1f7c23481 /snippets/emacs-lisp-mode/add-hook
parent23a420c1ed37fede60e8bc9ad710b53b290be1d6 (diff)
Snippets
Diffstat (limited to 'snippets/emacs-lisp-mode/add-hook')
-rw-r--r--snippets/emacs-lisp-mode/add-hook3
1 files changed, 2 insertions, 1 deletions
diff --git a/snippets/emacs-lisp-mode/add-hook b/snippets/emacs-lisp-mode/add-hook
index 1fcf995..e1019e8 100644
--- a/snippets/emacs-lisp-mode/add-hook
+++ b/snippets/emacs-lisp-mode/add-hook
@@ -2,4 +2,5 @@
# name: add-hook
# key: hook
# --
-(add-hook '${1:mode-to-hook-on} '${2:function}) \ No newline at end of file
+(add-hook '${1:mode-to-hook-on} '${2:function})
+$0 \ No newline at end of file
Copyright 2019--2024 Marius PETER