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.
This commit is contained in:
parent
3732ed4795
commit
d7c52e4e64
1 changed files with 9 additions and 0 deletions
9
configs/shared/.emacs.d/snippets/lisp-mode/defpackage
Normal file
9
configs/shared/.emacs.d/snippets/lisp-mode/defpackage
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: Define package
|
||||||
|
# key: defp
|
||||||
|
# --
|
||||||
|
(in-package #:cl-user)
|
||||||
|
(defpackage #:$1
|
||||||
|
(:documentation "$2")
|
||||||
|
(:use #:cl))
|
||||||
|
(in-package #:$1)
|
Loading…
Reference in a new issue