summaryrefslogtreecommitdiff
path: root/snippets/emacs-lisp-mode
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2021-09-13 22:49:27 -0700
committerMarius Peter <marius.peter@tutanota.com>2021-09-13 22:49:27 -0700
commitc3875265ccdd1d72f06a16ab1ca725b7cb2ec35b (patch)
treee6b79624e36b4b632398f318bc4ec04034ec88ee /snippets/emacs-lisp-mode
parentcc5cd4196c306b176f8af0124dc3d73b525024b1 (diff)
Consolidated resources and meta files.
Diffstat (limited to 'snippets/emacs-lisp-mode')
-rw-r--r--snippets/emacs-lisp-mode/add-hook6
-rw-r--r--snippets/emacs-lisp-mode/cond8
-rw-r--r--snippets/emacs-lisp-mode/defun9
-rw-r--r--snippets/emacs-lisp-mode/if7
-rw-r--r--snippets/emacs-lisp-mode/lambda7
-rw-r--r--snippets/emacs-lisp-mode/setq5
6 files changed, 0 insertions, 42 deletions
diff --git a/snippets/emacs-lisp-mode/add-hook b/snippets/emacs-lisp-mode/add-hook
deleted file mode 100644
index e1019e8..0000000
--- a/snippets/emacs-lisp-mode/add-hook
+++ /dev/null
@@ -1,6 +0,0 @@
-# -*- mode: snippet -*-
-# name: add-hook
-# key: hook
-# --
-(add-hook '${1:mode-to-hook-on} '${2:function})
-$0 \ No newline at end of file
diff --git a/snippets/emacs-lisp-mode/cond b/snippets/emacs-lisp-mode/cond
deleted file mode 100644
index 738ca0a..0000000
--- a/snippets/emacs-lisp-mode/cond
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- mode: snippet -*-
-# name: cond
-# key: cond
-# --
-(cond (${1:first-condition} ${2:first-return})
- (${3:second-condition} ${4:second-return})
- (t ${5:always-true-return}))
-$0 \ No newline at end of file
diff --git a/snippets/emacs-lisp-mode/defun b/snippets/emacs-lisp-mode/defun
deleted file mode 100644
index e67e483..0000000
--- a/snippets/emacs-lisp-mode/defun
+++ /dev/null
@@ -1,9 +0,0 @@
-# -*- mode: snippet -*-
-# name: defun
-# key: def
-# --
-(defun ${1:function-name} (${2:arguments})
- "${3:Docstring: Indicate in imperitave voice what the function does.
-Second and subsequent lines must have nil indentation to preserve
-formatting in }"
- $0) \ No newline at end of file
diff --git a/snippets/emacs-lisp-mode/if b/snippets/emacs-lisp-mode/if
deleted file mode 100644
index 8b464af..0000000
--- a/snippets/emacs-lisp-mode/if
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- mode: snippet -*-
-# name: if
-# key: if
-# --
-(if (${1:condition})
- (${2:then})
- ${3:else}) \ No newline at end of file
diff --git a/snippets/emacs-lisp-mode/lambda b/snippets/emacs-lisp-mode/lambda
deleted file mode 100644
index 9d11249..0000000
--- a/snippets/emacs-lisp-mode/lambda
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- mode: snippet -*-
-# name: lambda
-# key: lambda
-# --
-(lambda (${1:argument(s)})
- "${2:Docstring}"
- $0) \ No newline at end of file
diff --git a/snippets/emacs-lisp-mode/setq b/snippets/emacs-lisp-mode/setq
deleted file mode 100644
index f315eae..0000000
--- a/snippets/emacs-lisp-mode/setq
+++ /dev/null
@@ -1,5 +0,0 @@
-# -*- mode: snippet -*-
-# name: setq
-# key: setq
-# --
-(setq $0) \ No newline at end of file
Copyright 2019--2024 Marius PETER