about summary refs log tree commit diff
path: root/emacs/.emacs.d/snippets/lisp-mode/defpackage
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/snippets/lisp-mode/defpackage')
-rw-r--r--emacs/.emacs.d/snippets/lisp-mode/defpackage9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/.emacs.d/snippets/lisp-mode/defpackage b/emacs/.emacs.d/snippets/lisp-mode/defpackage
new file mode 100644
index 000000000000..7f110a9718e4
--- /dev/null
+++ b/emacs/.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