hi,
any reason slime-setup can't automatically add the contribs directory to emacs' load-path when requiring contribs? something like this:
(defun slime-setup (&optional contribs) "Setup Emacs so that lisp-mode buffers always use SLIME. CONTRIBS is a list of contrib packages to load." (when (member 'lisp-mode slime-lisp-modes) (add-hook 'lisp-mode-hook 'slime-lisp-mode-hook)) (when contribs (pushnew (file-name-as-directory (expand-file-name (concat slime-path "contribs")) load-path :test 'string=) (dolist (c contribs) (require c) (let ((init (intern (format "%s-init" c)))) (when (fboundp init) (funcall init)))))))