1. Luke Opperman
  2. etc

Commits

Luke Opperman  committed 35bebda

melpa and flycheck mode

  • Participants
  • Parent commits 4073e61
  • Branches default

Comments (0)

Files changed (1)

File .emacs

View file
 (add-to-list 'load-path "~/.emacs-extras")
 (add-to-list 'load-path "~/lib/expand-region.el")
 
+(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
+                         ("marmalade" . "http://marmalade-repo.org/packages/")
+                         ("melpa" . "http://melpa.milkbox.net/packages/")))
+
 (push '(font-backend xft x) default-frame-alist)
 
 (require 'color-theme)
 (add-to-list '*textmate-project-roots* "bin" t)
 (textmate-mode)
 
-(defun pyflakes-this-buffer ()
-  (interactive)
-  (compilation-start (concat "pyflakes " buffer-file-name) nil (lambda (mode) "*pyflakes*")))
-
 (require 'ido)
 (ido-mode t)
 (setq ido-enable-flex-matching t)
     (ibuffer-switch-to-saved-filter-groups "default")))
 
 
+(add-hook 'find-file-hook 'flycheck-mode)
+
 (scroll-bar-mode -1)
 
 ; Django templates