summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/emacs-lisp-mode/substring.yasnippet
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xemacs.d/lisp/yasnippet/snippets/emacs-lisp-mode/substring.yasnippet4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/emacs-lisp-mode/substring.yasnippet b/emacs.d/lisp/yasnippet/snippets/emacs-lisp-mode/substring.yasnippet
new file mode 100755
index 0000000..51746fa
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/emacs-lisp-mode/substring.yasnippet
@@ -0,0 +1,4 @@
+#contributor: Xah Lee (XahLee.org)
+#name: substring
+# --
+(substring STRING$0 FROM &optional TO)