mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-05-05 15:28:18 +00:00
added 20 or so snippets for emacs lisp mode.
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-file-name
|
||||
# --
|
||||
(buffer-file-name)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: buffer-substring
|
||||
# --
|
||||
(buffer-substring START$0 END)
|
||||
@@ -1,4 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defalias
|
||||
# --
|
||||
(defalias $0 )
|
||||
(defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING)
|
||||
@@ -1,4 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: fboundp
|
||||
# --
|
||||
(fboundp $0 )
|
||||
(fboundp '$0 )
|
||||
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: file-relative-name
|
||||
# --
|
||||
(file-relative-name $0 )
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: find-file
|
||||
# --
|
||||
(find-file $0 )
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: global-set-key
|
||||
# --
|
||||
(global-set-key (kbd "C-$0") 'COMMAND)
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: kbd
|
||||
# --
|
||||
(kbd "$0")
|
||||
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: line-beginning-position
|
||||
# --
|
||||
(line-beginning-position)
|
||||
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: line-end-position
|
||||
# --
|
||||
(line-end-position)
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: princ
|
||||
# --
|
||||
(princ $0)
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: print
|
||||
# --
|
||||
(print $0)
|
||||
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: re-search-backward
|
||||
# --
|
||||
(re-search-backward REGEXP$0 &optional BOUND NOERROR COUNT)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: region-beginning
|
||||
# --
|
||||
(region-beginning)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: region-end
|
||||
# --
|
||||
(region-end)
|
||||
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: replace-regexp-in-string
|
||||
# --
|
||||
(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: replace-regexp
|
||||
# --
|
||||
(replace-regexp REGEXP$0 TO-STRING &optional DELIMITED START END)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: search-backward
|
||||
# --
|
||||
(search-backward "$0" &optional BOUND NOERROR COUNT)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: search-forward
|
||||
# --
|
||||
(search-forward "$0" &optional BOUND NOERROR COUNT)
|
||||
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: skip-chars-backward
|
||||
# --
|
||||
(skip-chars-backward "$0" &optional LIM)
|
||||
@@ -0,0 +1,4 @@
|
||||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: skip-chars-forward
|
||||
# --
|
||||
(skip-chars-forward "$0" &optional LIM)
|
||||
Reference in New Issue
Block a user