lisp - Error Emacs slime: eval-buffer: Symbol's function definition is void: define-slime-contrib -
i'm using emacs lisp (using slime) short time...this work today when run appear message:
eval-buffer: symbol's function definition void: define-slime-contrib
means slime contrib folder not found?
my .emacs disaster..sorry this...i search inside folders , well...
;; slime ================================================== ' ;; orden: m-x slime (setq inferior-lisp-program "/usr/bin/clisp") ; (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/") ;;(require 'slime-autoloads) (add-to-list 'load-path "/etc/emacs/site-start.d/") ;; review folders , (add-to-list 'load-path "/usr/lib/emacsen-common/packages/install/") ;; address (add-to-list 'load-path "/usr/share/doc/slime/") (add-to-list 'load-path "/usr/share/emacs/site-lisp/") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/contrib/") (add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/") (require 'slime) (add-hook 'lisp-mode-hook '(lambda () (local-set-key (kbd "ret") 'newline-and-indent))) (add-hook 'slime-mode-hook '(lambda () (local-set-key (kbd "ret") 'newline-and-indent))) (add-hook 'html-mode-hook '(lambda () (local-set-key (kbd "ret") 'newline-and-indent)))
this relevant part of .emacs:
(setq inferior-lisp-program "/usr/local/bin/sbcl") (add-to-list 'load-path "~/.emacs.d/slime/") (require 'slime) (slime-setup)
when using it, go lisp buffer , run m-x slime
, voila, works.
Comments
Post a Comment