 
 (defalias 'yes-or-no-p 'y-or-n-p)
 
-;(setq-default line-spacing nil)
+                                        ;(setq-default line-spacing nil)
 (setq global-auto-revert-non-file-buffers t)
 ;; (setq auto-revert-verbose nil)
 (global-auto-revert-mode 1)
 
-(require 'em-alias)
-(setq eshell-command-aliases-list (append '(("l" "ls -lcrt")
-                                            ("d" "dired $1")
-                                            ("ff" "find-file $1"))
-                                          eshell-command-aliases-list))
-
-(defun visit-term-buffer ()
-  "Create or visit a terminal buffer."
-  (interactive)
-  (if (not (get-buffer "*eshell*"))
-      (progn
-        (split-window-sensibly (selected-window))
-        (other-window 1)
-        (eshell))
-    (switch-to-buffer-other-window "*eshell*")))
-
-(defun my-c-mode-font-lock-if0 (limit)
-  (save-restriction
-    (widen)
-    (save-excursion
-      (goto-char (point-min))
-      (let ((depth 0) str start start-depth)
-        (while (re-search-forward "^\\s-*#\\s-*\\(if\\|else\\|endif\\)" limit 'move)
-          (setq str (match-string 1))
-          (if (string= str "if")
-              (progn
-                (setq depth (1+ depth))
-                (when (and (null start) (looking-at "\\s-+0"))
-                  (setq start (match-end 0)
-                        start-depth depth)))
-            (when (and start (= depth start-depth))
-              (c-put-font-lock-face start (match-beginning 0) 'font-lock-comment-face)
-              (setq start nil))
-            (when (string= str "endif")
-              (setq depth (1- depth)))))
-        (when (and start (> depth 0))
-          (c-put-font-lock-face start (point) 'font-lock-comment-face)))))
-  nil)
-
-(defun my-c-mode-common-hook ()
-  (progn
-    (font-lock-add-keywords
-     nil
-     '((my-c-mode-font-lock-if0 (0 font-lock-comment-face prepend))) 'add-to-end)
-    (setq fill-column 100)
-    ;; (setq c-hungry-delete-key t)
-    ))
-
-(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
-
-;; (require 'python)
-;(setq python-python-command "python3")
 
 ;; ; check if we're on OSX
 (when (featurep 'ns-win)


(setq compilation-ask-about-save nil
      compilation-scroll-output 'first-error
      next-line-add-newlines nil
      inhibit-startup-message t
      initial-scratch-message nil
      font-lock-maximum-decoration '((racket-mode . t) (t . 1))
      load-prefer-newer t
      require-final-newline t
      redisplay-dont-pause t

(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq-default py-indent-offset 4)
;; (setq-default abbrev-mode t)
(winner-mode t)   ;; C-c <left|right>
(set-language-environment "czech")
(setq default-input-method "czech-qwerty")
