Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; This is where everything starts
- ;; Create a variable to store the path to this dotfile directory
- ;; (Usually ~/.emacs.d)
- (add-to-list 'load-path "/Applications/slime/") ; your SLIME directory
- (setq inferior-lisp-program "/Applications/clozure/dx86xcl64 -K utf-8")
- ;(setq inferior-lisp-program "/usr/local/bin/sbcl") ; your Lisp system
- (require 'slime-autoloads)
- (slime-setup '(slime-fancy slime-asdf slime-banner))
- (slime)
- (setq erc-autojoin-channels-alist
- '(("freenode.net" "#emacs" "#smc" "#squeak" "#lisp" "#lispgames" "#blenderpython" "#blender" "#blendercoders" "#mypaint" "#glfw")))
- (setq dotfiles-dir (file-name-directory
- (or (buffer-file-name) load-file-name)))
- ;; Create variables to store the path to this dotfile dir's lib etc and tmp directories
- (setq dotfiles-lib-dir (concat dotfiles-dir "lib/"))
- (setq dotfiles-tmp-dir (concat dotfiles-dir "tmp/"))
- (setq dotfiles-etc-dir (concat dotfiles-dir "etc/"))
- ;; Create helper fns for loading dotfile paths and files
- (defun add-dotfile-path (p)
- (add-to-list 'load-path (concat dotfiles-dir p)))
- (defun add-lib-path (p)
- (add-to-list 'load-path (concat dotfiles-lib-dir p)))
- (defun load-dotfile (f)
- (load-file (concat dotfiles-dir f)))
- ;; Ensure the lib directory is on the load path
- (add-dotfile-path "lib")
- ;; Pull in live-coding config (see https://github.com/overtone/live-coding-emacs)
- (load-dotfile "live-config/live.el")
- ;; Pull in personalised config
- (load-dotfile "config/core.el")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement