Follow function in file "slime-editing-commands.el", should use "major-mode" instead of "major". It seems variable "major" in emacs23 is deprecated.
,---- | (defun slime-end-of-defun () | (interactive) | (if (eq major 'slime-repl-mode) | (slime-repl-end-of-defun) | (end-of-defun))) | `----