On Wed, Sep 05, 2007 at 02:34:17PM +0200, Helmut Eller wrote: : * Jonathon McKitrick [2007-09-05 13:59+0200] writes: : : > I have this in my Preferences.el I'm running Aquamacs: : > : > (slime-setup :autodoc t) : > (setq slime-use-autodoc-mode) : > : > But M-x slime-autodoc-mode says 'No match' : > Do I need a (require 'slime-autodoc) somewhere? : : Yes, but slime-fancy does that already. : : Hmm... I guess, you have (require 'slime) somewhere, before you do : (add-hook 'slime-load-hook ...). I.e. the load hook is already : executed before the customizations are added.
Would it be simpler just to rearrange these calls?
: Can you delete (require 'slime) and try something like this instead: : : (require 'slime-autoloads) : (slime-setup :autodoc t) : (defun my-slime-load-hook () : (require 'slime-fancy) : (require 'slime-asdf)) : (add-hook 'slime-load-hook 'my-slime-load-hook)
Thank you, that does work. Should I move all of my define-key slime-mode-map settings into my-slime-load-hook? They do not work if called before slime is loaded, of course.
-- jcm@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org