about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-23T13·51+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-23T13·51+0000
commitd7c52e4e64f38d5635b5974a0deed6ee7c91c3b2 (patch)
tree2d594760e67b9ca83616fc85a74d1d46a444d3b1 /configs
parent3732ed479586c6268a23860bfdf0c82e64336920 (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/defpackage9
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