 
 (use-package eldoc
   :init
-  (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
-  (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
-  (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode))
+  (add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
+  (add-hook 'lisp-interaction-mode-hook 'eldoc-mode)
+  (add-hook 'ielm-mode-hook 'eldoc-mode))
 
 (use-package rainbow-mode
   :defer t


;; vystup z customize-face:
(custom-set-faces
 '(avy-background-face ((t (:background "gray90" :foreground "gray50"))))
 '(region ((t (:background "#f1c40f" :distant-foreground "gtk_selection_fg_color")))))

(use-package smart-mode-line
  :config

      make-backup-files nil
      delete-auto-save-files t
      imenu-auto-rescan t
      ;; echo-keystrokes 0.1
      use-dialog-box nil
      uniquify-buffer-name-style 'forward
      ediff-window-setup-function 'ediff-setup-windows-plain
