X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fdocstrings.lisp;h=8bd36b09f1af141145bb1d98d8c2de8cbef87f1f;hb=47fe7f5b227bba5964d5dd4d2a93d9e4b1d1502e;hp=67dc0d19b8b9cadeb2aa4c70c27da184a35938ee;hpb=7e4eb6a57894481bee6d0982751eada165a1f6a4;p=sbcl.git diff --git a/doc/manual/docstrings.lisp b/doc/manual/docstrings.lisp index 67dc0d1..8bd36b0 100644 --- a/doc/manual/docstrings.lisp +++ b/doc/manual/docstrings.lisp @@ -743,10 +743,10 @@ followed another tabulation label or a tabulation body." (title-name doc) ;; &foo would be amusingly bold in the pdf thanks to TeX/Texinfo ;; interactions,so we escape the ampersand -- amusingly for TeX. - ;; sbcl.texinfo defines macros that expand @&key and friends to &key. + ;; sbcl.texinfo defines macros that expand @andkey and friends to &key. (mapcar (lambda (name) (if (member name lambda-list-keywords) - (format nil "@~A" name) + (format nil "@and~A{}" (remove #\- (subseq (string name) 1))) name)) (lambda-list doc)))))