    (lambda (package)
      (if (package-installed-p package)
          nil
-       (if (y-or-n-p (format "Package %s is missing. Install it? " package))
-           (package-install package)
-         package)))
+	   (package-install package))
+       ;; (if (y-or-n-p (format "Package %s is missing. Install it? " package))
+       ;;     (package-install package)
+       ;;   package)))
    packages))
 
 ;; make sure to have downloaded archive description.


(setq package-enable-at-startup nil)
(package-initialize)

;; Handle installing packages in emacs
(defun ensure-package-installed (&rest packages)
  "Assure every package is installed, ask for installation if it’s not.

(ensure-package-installed 'evil
                          'projectile
                          'magit
						  'helm
						  'powerline
						  'powerline-evil
						  'evil-leader
						  'smooth-scrolling
						  'flycheck
						  'autopair
						  'saveplace
						  'ido
						  'auto-complete
						  'evil-commentary
						  'evil-surround
						  'evil-search-highlight-persist
						  'git-gutter
						  'drag-stuff
						  'evil-surround
						  'gruvbox-theme
						  'spaceline
						  'diff-hl
						  'markdown-mode+
						  'persistent-scratch
						  'neotree
						  'minimap
						  'rainbow-mode
						  'rainbow-delimiters
						  'elpy)

;; Evil mode
(require 'evil)
