Browse Source

move git to all OSes

Josh Bicking 8 years ago
parent
commit
55f136f9e8
1 changed files with 7 additions and 6 deletions
  1. 7 6
      emacs

+ 7 - 6
emacs

@@ -258,23 +258,24 @@
  "M-g" 'magit-dispatch-popup
  )
 
+;; Magit
+(require 'magit)
+(setq evil-magit-state 'normal)
+(require 'evil-magit)
+(global-magit-file-mode)
 
 ;;;; System-specific configs
 
 (defun win-setup ()
     (add-to-list 'exec-path "C:/Program Files (x86)/Aspell/bin/")
     (setq ispell-program-name "aspell")
+
     (defun cmd ()
       (interactive)
 	(make-comint-in-buffer "cmd" nil "cmd" nil)
 	(switch-to-buffer "*cmd*")))
 
-(defun linux-setup ()
-    ;; Magit
-    (require 'magit)
-    (setq evil-magit-state 'normal)
-    (require 'evil-magit)
-    (global-magit-file-mode))
+(defun linux-setup ())
 
 (cond ((eq system-type 'windows-nt) (win-setup))
       ((eq system-type 'gnu/linux) (linux-setup))