Snippets

Commit
942f394906eacbc13744d2fb82418e1302895265
Author
Blendoit <blendoit@gmail.com>
Author date
Committer
Blendoit <blendoit@gmail.com>
Committer date
Changed files
snippets/emacs-lisp-mode/add-hook
index 1fcf9956..e1019e80 100644..100644
@@ -3,3 +3,4 @@
3 3 # key: hook
4 4 # --
5 5 (add-hook '${1:mode-to-hook-on} '${2:function})
6 Added: $0
snippets/emacs-lisp-mode/cond
index 00000000..738ca0a2 000000..100644
@@ -0,0 +1,8 @@
1 Added: # -*- mode: snippet -*-
2 Added: # name: cond
3 Added: # key: cond
4 Added: # --
5 Added: (cond (${1:first-condition} ${2:first-return})
6 Added: (${3:second-condition} ${4:second-return})
7 Added: (t ${5:always-true-return}))
8 Added: $0
snippets/emacs-lisp-mode/defun
index 80373b2c..e67e4830 100644..100644
@@ -3,5 +3,7 @@
3 3 # key: def
4 4 # --
5 5 (defun ${1:function-name} (${2:arguments})
6 Removed: "${3:Docstring}"
6 Added: "${3:Docstring: Indicate in imperitave voice what the function does.
7 Added: Second and subsequent lines must have nil indentation to preserve
8 Added: formatting in }"
7 9 $0)