 (require 'color-theme)
 (color-theme-initialize)
 (color-theme-dark-laptop)
+
+
+;; spaces/tab override
+(add - hook 'after-change-major-mode-hook
+ '(lambda()
+   (setq - default indent-tabs-mode nil)
+       (setq c - basic - indent 4)
+       (setq tab - width 4)))

;(scroll-bar-mode -1)

;; tabs
(setq-default indent-line-function 4)
(setq-default tab-width 4)
(setq-default c-basic-offset 4)

  (interactive "r")
  (shell-command-on-region
   pmin pmax
   "astyle --style=kr --indent=spaces=4 --pad-oper --pad-header --unpad-paren --add-brackets --keep-one-line-blocks --keep-one-line-statements --align-pointer=type "
   (current-buffer) t
   (get-buffer-create "*Astyle Errors*") t))

