Hooks (SLIME User Manual, version 2.28)

#### 6.1.1 Hooks

`slime-mode-hook`

  This hook is run each time a buffer enters `slime-mode`. It is most useful for setting buffer-local configuration in your Lisp source buffers. An example use is to enable `slime-autodoc-mode` (see `slime-autodoc-mode`).

`slime-connected-hook`

  This hook is run when SLIME establishes a connection to a Lisp server. An example use is to create a Typeout frame (See Typeout frames.)

`sldb-hook`

  This hook is run after SLDB is invoked. The hook functions are called from the SLDB buffer after it is initialized. An example use is to add `sldb-print-condition` to this hook, which makes all conditions debugged with SLDB be recorded in the REPL buffer.