 (set-terminal-coding-system 'iso-latin-1)
 
 
-(defconst knf-c-style
-  '((c-basic-offset . 2)
-    (c-indent-level . 2)
-    (c-continued-statement-offset . 2)
-    (c-brace-offset . -2)
-    (c-argdecl-indent . 2)
-    (c-label-offset . -2)
-    (c-offsets-alist . ((knr-argdecl-intro . +)
-                        (knr-argdecl . 0)
-                        (block-open . -)
-                        (label . -)
-                        (statement-cont . 2)
-                        (arglist-cont . 2)
-												(innamespace . 0)
-												(statement-case-intro . 2)
-                        (substatement-open . 0)
-                        (case-label 2)
-                        (inline-open 0)
-                        (arglist-cont-nonempty 2))))
-  "BSD KNF")
-
-(c-add-style "knf" knf-c-style)
-;;(setq c-default-style "knf")
 
 (setq c-default-style "linux"
           c-basic-offset 2)
-
-(setq-default c-basic-offset 2
-                  tab-width 2
-                  indent-tabs-mode t)
 
 (org-babel-do-load-languages
       'org-babel-load-languages

                                  ("%b - Dir:  " default-directory)))))))


(setq-default indent-tabs-mode t)
(setq tab-width 4)

(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))

;; ------ Flycheck ------------------


(setq auto-save-default nil) ;; stop creating those #autosave# files

;; ausgewÃ¤hlten Text bei Eingabe lÃ¶schen
;;(delete-selection-mode 1)

;; keine "yes-or-no"-Fragen - "y-or-n" reicht aus
(defalias 'yes-or-no-p 'y-or-n-p)
