I installed leiningen and ran lein swank,
- sudo lein deps
- lein swank
Aquamacs has everything about SLIME, so it’s OK.
Solution to this problem
David helped me to be out of trouble.
As Aquamacs has built-in SLIME, I didn’t need anything complex about the setup. I just needed one line – (slime-setup ‘(slime-repl)).
I had the same problem if I used (slime-setup ‘(slime-fancy)). Changing it to (slime-setup ‘(slime-repl)) fixed it.