Remove parens from :documentation expansion

This makes it useful for slot definitions as well. I can always
insert (|) quickly thanks to my kmonad config, so expanding
to (:documentation "...") forms remain nearly as easy as before.
This commit is contained in:
contrapunctus 2022-10-26 01:15:23 +05:30
parent c07b75be77
commit e276088bdd
1 changed files with 1 additions and 1 deletions

View File

@ -28,6 +28,7 @@ slime-repl-mode lisp-mode
(s "(%" (s slot)
" :initarg :" (s slot) n>
" :accessor " (s slot) > ")")
(d ":documentation \"" (s "docstring") "\"")
(dg "(defgeneric " p " (" "))")
(qq "(ql:quickload '(" (p "packages") "))")
(dp "(defpackage :" (p "name")
@ -39,7 +40,6 @@ slime-repl-mode lisp-mode
;; print debugging
(pd "(format *debug-io* \"" (p "string") "\"" q ")")
(im "(:import-from :" (s "package") " #:" (s "symbol") ")")
(d "(:documentation \"" (s "docstring") "\")")
(di "(:default-initargs " (s "initarg") ")")
(qu "(ql:update-all-dists)" n> "(ql:update-client)")