Remove paren-wrapping snippets from emacs-lisp-mode (#248)
There are several snippets whose expansion is nothing more than (KEY $0) where KEY is the snippet's #key field. These snippets do nothing but save you typing in the parentheses. Using a package like paredit, or smartparens would be more suited to this. There are currently a lot of snippets in emacs-lisp-mode, which makes browsing through the list more difficult, so these least useful ones should be removed.
This commit is contained in:
parent
f76efc2054
commit
b42c2b670b
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: append
|
||||
#key: append
|
||||
# --
|
||||
(append $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: apply
|
||||
#key: apply
|
||||
# --
|
||||
(apply $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: car
|
||||
#key: car
|
||||
# --
|
||||
(car $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: cdr
|
||||
#key: cdr
|
||||
# --
|
||||
(cdr $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: concat
|
||||
#key: concat
|
||||
# --
|
||||
(concat $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: cons
|
||||
#key: cons
|
||||
# --
|
||||
(cons $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: consp
|
||||
#key: consp
|
||||
# --
|
||||
(consp $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: defsubst
|
||||
#key: defsubst
|
||||
# --
|
||||
(defsubst $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: dolist
|
||||
#key: dolist
|
||||
# --
|
||||
(dolist $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: eq
|
||||
#key: eq
|
||||
# --
|
||||
(eq $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: equal
|
||||
#key: equal
|
||||
# --
|
||||
(equal $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: funcall
|
||||
#key: funcall
|
||||
# --
|
||||
(funcall $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: function
|
||||
#key: function
|
||||
# --
|
||||
(function $0)
|
|
@ -1,5 +0,0 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: hash
|
||||
# key: hash
|
||||
# --
|
||||
(make-hash-table $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: if
|
||||
#key: if
|
||||
# --
|
||||
(if $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: length
|
||||
#key: length
|
||||
# --
|
||||
(length $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: list
|
||||
#key: list
|
||||
# --
|
||||
(list $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: mapcar
|
||||
#key: mapcar
|
||||
# --
|
||||
(mapcar $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: null
|
||||
#key: null
|
||||
# --
|
||||
(null $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: princ
|
||||
#key: princ
|
||||
# --
|
||||
(princ $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: print
|
||||
#key: print
|
||||
# --
|
||||
(print $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: progn
|
||||
#key: progn
|
||||
# --
|
||||
(progn $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: push
|
||||
#key: push
|
||||
# --
|
||||
(push $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: repeat
|
||||
#key: repeat
|
||||
# --
|
||||
(repeat $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: require
|
||||
#key: require
|
||||
# --
|
||||
(require $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: set
|
||||
#key: set
|
||||
# --
|
||||
(set $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: string
|
||||
#key: string
|
||||
# --
|
||||
(string $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: stringp
|
||||
#key: stringp
|
||||
# --
|
||||
(stringp $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: unless
|
||||
#key: unless
|
||||
# --
|
||||
(unless $0)
|
|
@ -1,5 +0,0 @@
|
|||
#contributor: Xah Lee (XahLee.org)
|
||||
#name: while
|
||||
#key: while
|
||||
# --
|
||||
(while $0)
|
Loading…
Reference in a new issue