 
 ;; No need to confirm killing buffers.
 (global-set-key [(control x) (k)] 'kill-this-buffer)
-
-;; Keep same window for pop-ups (ie. help-mode).
-;; From http://www.emacswiki.org/emacs/OneWindow
-(setq pop-up-windows nil)


(use-package rainbow-delimiters
  :ensure rainbow-delimiters)
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)

(use-package hungry-delete
  :ensure hungry-delete)

  (let ((m prog-mode-map))
    (define-key m [f6] 'recompile))
  ;; Show trailing whitespace.
  (set (make-local-variable 'show-trailing-whitespace) t)
  ;; Spellcheck comments and documentation
  ;; From http://mwolson.org/projects/emacs-config/init.el.html
  (flyspell-prog-mode)
  (whitespace-mode)
  (rainbow-delimiters-mode))
(add-hook 'prog-mode-hook 'ar/prog-mode-hook)

(use-package centered-cursor-mode
