yasnippet-snippets/emacs-lisp-mode/define-key
Allen Zheng 7ca2a64ed2 Fix Emacs Lisp snippets being executable
Since snippets aren't executable files, the executable bit shouldn't be
set. Interestingly, the Emacs Lisp snippets have been executable since
they were imported from the yasnippet repo in commit
5600362497.

The only effect of this commit will be to help prevent people from
accidentally executing the Emacs Lisp snippets and being dissappointed.
2016-08-01 15:46:47 -07:00

6 lines
No EOL
130 B
Text

#contributor: Xah Lee (XahLee.org)
#name: define-key
#key: define-key
#key: dk
# --
(define-key ${1:mode}-map (kbd "${2:key}") $0)