1
0
Fork 0

Add snippet for autoload cookie

This commit is contained in:
Tom Willemse 2020-05-02 18:32:39 -07:00
parent 45b66d826a
commit cbaeffe3a1

View file

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: with-eval-after-load-cookie
# key: cookie
# --
;;;###autoload(with-eval-after-load '${1:`(string-remove-prefix "oni-" (string-remove-suffix ".el" (buffer-name)))`-mode} (require '`(string-remove-suffix ".el" (buffer-name))`))