diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-23T13·51+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-23T13·51+0000 |
commit | d7c52e4e64f38d5635b5974a0deed6ee7c91c3b2 (patch) | |
tree | 2d594760e67b9ca83616fc85a74d1d46a444d3b1 /configs | |
parent | 3732ed479586c6268a23860bfdf0c82e64336920 (diff) |
Define CL snippet for a module header
Since I'm new to the CL world, snippets are a useful note-taking analogue with the added benefit of potentially speeding up my workflow should the muscle-memory set.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/shared/.emacs.d/snippets/lisp-mode/defpackage | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/snippets/lisp-mode/defpackage b/configs/shared/.emacs.d/snippets/lisp-mode/defpackage new file mode 100644 index 000000000000..7f110a9718e4 --- /dev/null +++ b/configs/shared/.emacs.d/snippets/lisp-mode/defpackage @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: Define package +# key: defp +# -- +(in-package #:cl-user) +(defpackage #:$1 + (:documentation "$2") + (:use #:cl)) +(in-package #:$1) \ No newline at end of file |