Skip to content

Commit 260b5af

Browse files
committed
CL: lisp-add-export
1 parent ccb68c1 commit 260b5af

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

content/en/usage/common_lisp.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,16 @@ package.
266266
Note that, unlike Emacs and Slime, it doesn't switch Lisp's current
267267
directory.
268268

269+
## Export symbols
270+
271+
Use `Alt-x lisp-add-export` on a symbol to automatically add it to the
272+
`:export` clause of your `defpackage` (or `uiop:define-package`) definition.
273+
274+
275+
NB: on contrary to Slime, it doesn't add all the readers, writers or
276+
accessors of a class definition.
277+
278+
269279
## Remove unused imports
270280

271281
The function `Alt-x lisp-organize-imports` will delete the unnecessary

0 commit comments

Comments
 (0)