Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ddb8ff2bf1
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (44 sloc) 1.476 kb
;;; settings about some other modes
(defun do-add-to-list (to-list from-list)
(dolist (var from-list)
(add-to-list to-list var)))
(setq pair-list '(("\\.md$" . markdown-mode)
("\\.markdown$" . markdown-mode)
("\\Rakefile\\'" . ruby-mode)
("\\Gemfile\\'" . ruby-mode)
("\\.cl\\'" . lisp-mode)
("\\.pig\\'" . pig-mode)
("\\.pig.tpl\\'" . pig-mode)
("\\.js$" . js2-mode)))
(setq mode-file-list '("~/.emacs.d/js2-mode"
"~/.emacs.d/clojure-mode"
"~/.emacs.d/auto-complete"
"~/.emacs.d/pig-mode"
"~/.emacs.d/ac-slime"))
(do-add-to-list 'auto-mode-alist pair-list)
(do-add-to-list 'load-path mode-file-list)
(require 'pig-mode)
;; javascript mode
(autoload 'js2-mode "js2-mode" nil t)
;; clojure-mode
(add-hook 'slime-repl-mode-hook
(defun clojure-mode-slime-font-lock ()
(let (font-lock-mode)
(clojure-mode-font-lock-setup))))
(require 'clojure-mode)
;; auto-complete
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories
"~/.emacs.d/auto-complete/ac-dict")
(ac-config-default)
;; ac-slime
(require 'ac-slime)
(add-hook 'slime-mode-hook 'set-up-slime-ac)
(add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
(eval-after-load "auto-complete"
'(add-to-list 'ac-modes 'slime-repl-mode))
;; ipython
;; (require 'ipython)
;; slime
(load (expand-file-name "~/quicklisp/slime-helper.el"))
(setq inferior-lisp-program "sbcl")
Jump to Line
Something went wrong with that request. Please try again.