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