[Emacs Lisp] Personal ~/.emacs.d/ configuration folder.
Snippets
Changed files
snippets/emacs-lisp-mode/add-hook
@@ -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
@@ -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
@@ -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)