1
0
Fork 0
emacs-config/oni-elisp/snippets/emacs-lisp-mode/cookie

5 lines
No EOL
257 B
Text

# -*- 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))`))