added 20 or so snippets for emacs lisp mode.

This commit is contained in:
Xah Lee 2010-08-12 16:56:43 +00:00
parent e9f1158ad4
commit fd4065a70f
21 changed files with 78 additions and 2 deletions

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: buffer-file-name
# --
(buffer-file-name)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: buffer-substring
# --
(buffer-substring START$0 END)

View File

@ -1,4 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: defalias
# --
(defalias $0 )
(defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING)

View File

@ -1,4 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: fboundp
# --
(fboundp $0 )
(fboundp '$0 )

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: file-relative-name
# --
(file-relative-name $0 )

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: find-file
# --
(find-file $0 )

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: global-set-key
# --
(global-set-key (kbd "C-$0") 'COMMAND)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: kbd
# --
(kbd "$0")

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: line-beginning-position
# --
(line-beginning-position)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: line-end-position
# --
(line-end-position)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: princ
# --
(princ $0)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: print
# --
(print $0)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: re-search-backward
# --
(re-search-backward REGEXP$0 &optional BOUND NOERROR COUNT)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: region-beginning
# --
(region-beginning)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: region-end
# --
(region-end)

View File

@ -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)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: replace-regexp
# --
(replace-regexp REGEXP$0 TO-STRING &optional DELIMITED START END)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: search-backward
# --
(search-backward "$0" &optional BOUND NOERROR COUNT)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: search-forward
# --
(search-forward "$0" &optional BOUND NOERROR COUNT)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: skip-chars-backward
# --
(skip-chars-backward "$0" &optional LIM)

View File

@ -0,0 +1,4 @@
#contributor: Xah Lee (XahLee.org)
#name: skip-chars-forward
# --
(skip-chars-forward "$0" &optional LIM)