Advertisement
kilon

Slime cannot load CCL

Mar 17th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.51 KB | None | 0 0
  1. ;; This is where everything starts
  2.  
  3. ;; Create a variable to store the path to this dotfile directory
  4. ;; (Usually ~/.emacs.d)
  5.  
  6. (add-to-list 'load-path "/Applications/slime/")  ; your SLIME directory
  7. (setq inferior-lisp-program "/Applications/clozure/dx86xcl64 -K utf-8")
  8. ;(setq inferior-lisp-program "/usr/local/bin/sbcl") ; your Lisp system
  9.  
  10. (require 'slime-autoloads)
  11. (slime-setup '(slime-fancy slime-asdf slime-banner))
  12. (slime)
  13.  
  14. (setq erc-autojoin-channels-alist
  15.           '(("freenode.net" "#emacs" "#smc" "#squeak" "#lisp" "#lispgames" "#blenderpython" "#blender" "#blendercoders" "#mypaint" "#glfw")))
  16.  
  17. (setq dotfiles-dir (file-name-directory
  18.                     (or (buffer-file-name) load-file-name)))
  19.  
  20. ;; Create variables to store the path to this dotfile dir's lib etc and tmp directories
  21. (setq dotfiles-lib-dir (concat dotfiles-dir "lib/"))
  22. (setq dotfiles-tmp-dir (concat dotfiles-dir "tmp/"))
  23. (setq dotfiles-etc-dir (concat dotfiles-dir "etc/"))
  24.  
  25. ;; Create helper fns for loading dotfile paths and files
  26. (defun add-dotfile-path (p)
  27.   (add-to-list 'load-path (concat dotfiles-dir p)))
  28.  
  29. (defun add-lib-path (p)
  30.   (add-to-list 'load-path (concat dotfiles-lib-dir p)))
  31.  
  32. (defun load-dotfile (f)
  33.   (load-file (concat dotfiles-dir f)))
  34.  
  35.  
  36. ;; Ensure the lib directory is on the load path
  37. (add-dotfile-path "lib")
  38.  
  39.  
  40. ;; Pull in live-coding config (see https://github.com/overtone/live-coding-emacs)
  41. (load-dotfile "live-config/live.el")
  42.  
  43.  
  44. ;; Pull in personalised config
  45. (load-dotfile "config/core.el")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement