From d7c52e4e64f38d5635b5974a0deed6ee7c91c3b2 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 23 Jan 2020 13:51:53 +0000 Subject: [PATCH] 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. --- configs/shared/.emacs.d/snippets/lisp-mode/defpackage | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 configs/shared/.emacs.d/snippets/lisp-mode/defpackage 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 000000000..7f110a971 --- /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