Skip to content

Commit c1384cc

Browse files
committed
snippet(emacs-lisp): generalize thing-at-point
- Multiple keys aren't supported, - The uuid is redundant with an already-unique name, - The trailing comment is more frustrating than helpful. - Add's `%` (placeholder for selected text), - Removes contributor line because the snippet is sufficiently generic.
1 parent d0a96a3 commit c1384cc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: emacs-lisp-mode/thing-at-point

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# -*- mode: snippet -*-
2-
# contributor: Xah Lee (XahLee.org)
32
# name: thing-at-point
4-
# key: thing-at-point
5-
# uuid: thing-at-point
63
# key: tap
74
# --
8-
(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
5+
(thing-at-point `%`$0)

0 commit comments

Comments
 (0)