                  flycheck-idle-change-delay 0.8)
   (add-hook 'after-init-hook #'global-flycheck-mode))
 
+(use-package pos-tip :ensure t
+  :config
+  (when (fboundp 'tooltip-mode) (tooltip-mode 1)))
+
 (use-package flycheck-pos-tip :ensure t
   :after flycheck
   :config

    (dolist (hook-function hook-functions)
      (add-hook hook hook-function))))

(defun ar/emacs-lisp-mode-hook-function ()
  "Called when entering `emacs-lisp-mode'."
  (bind-key "RET" 'comment-indent-new-line emacs-lisp-mode-map)

(when (fboundp 'menu-bar-mode) (menu-bar-mode -1))
(when (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(when (fboundp 'toggle-scroll-bar) (toggle-scroll-bar -1))

;; Get rid of splash screens.
;; From http://www.emacswiki.org/emacs/EmacsNiftyTricks
