## About Trivial-Indent

This allows you to define custom indentation hints for your macros if the one recognised by Slime automatically produces unwanted results.

## How To

The only feature of this that you will really need to use is `DEFINE-INDENTATION`.

    (define-indentation defmacro (4 &lambda &body))
    (define-indentation something-more-complex (4 &rest (&whole 2 0 4 &body)))

For more information on how the indentation rule forms work, please refer to the Slime source and documentation. Otherwise just faffing about until it produces the indentation you need works well too.

## Copyright

trivial-indent is licensed under the Artistic license. © Nicolas Hafner <shinmera@tymoon.eu> .

## Package Index

- ### TRIVIAL-INDENT (INDENT ORG.TYMOONNEXT.RADIANCE.LIB.TRIVIAL-INDENT)

  - accessor `(`

    #### `INDENTATION`

    `` `SYMBOL``)`

        Returns the custom defined indentation of a symbol if there is any. SETF-able.

  - function `(`

    #### `INITIALIZE-SLIME`

    `` ```)`

        Attempts to initialize slime with our indentation table.
        If SWANK-INDENTATION is not loaded, this does nothing.
        It should be safe to call this function regardless of whether
        SWANK is loaded at all or not.

        This is automatically called when TRIVIAL-INDENT is loaded.

  - function `(`

    #### `REMOVE-INDENTATION`

    `` `SYMBOL``)`

        Remove the indentation hint for a symbol.

  - macro `(`

    #### `DEFINE-INDENTATION`

    `` `SYMBOL RULE-FORM``)`

        Define an indentation hint for a symbol.

        See the SLIME/SWANK documentation for more information on the rules.
        Example: (define-indentation defmacro (4 &lambda &body))