 (set-frame-parameter (selected-frame) 'alpha '(75 . 75))
 (add-to-list 'default-frame-alist '(alpha . (75 . 75)))
 
+(if (eq system-type 'windows-nt)
+    (progn      (set-frame-parameter (selected-frame) 'alpha '(100 . 100))
+		(add-to-list 'default-frame-alist '(alpha . (100 . 100))))
+    (progn      (set-frame-parameter (selected-frame) 'alpha '(75 . 75))
+		(add-to-list 'default-frame-alist '(alpha . (75 . 75))))
+)
 ;; Tweaks for Auctex
 ;; Inserts \( \) in LaTeX and $ $ in Tex when writing $
 (add-hook 'plain-TeX-mode-hook

;;FlySpell+FlySpell-babel for Spellchecks using aspell
(autoload 'flyspell-babel-setup "flyspell-babel")
(setq-default ispell-program-name "aspell") 
;;(dolist (hook '(text-mode-hook))
;;  (add-hook hook (lambda () (flyspell-mode 1))))
;;(dolist (hook '(change-log-mode-hook log-edit-mode-hook))
;;  (add-hook hook (lambda () (flyspell-mode -1))))
;;(add-hook 'TeX-mode-hook 'flyspell-babel-setup)
;;(add-hook 'TeX-mode-hook 'flyspell-buffer)

;; Enable Linenumbers
(add-hook 'find-file-hook (lambda () (linum-mode 1)))



;; Disable scrolbar
(scroll-bar-mode -1)

(setq split-width-threshold 1 )
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(global-auto-revert-mode 1)
;;(desktop-save-mode 1)

(setq c-default-style "linux"
      c-basic-offset 4)
