 
 ;; 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)

  ;; Saving point to register enables jumping back to last change at any time.
  (ar/save-point))

(defun ar/java-mode-hook ()
  "Called when entering java-mode"
  ;; 100-column limit for java.
  (set-fill-column 100)
  ;; 2-char indent for java.
  (setq c-basic-offset 2))
(add-hook 'java-mode-hook 'ar/java-mode-hook)

(defun ar/prog-mode-hook ()
  "Called when entering all programming modes."
  (add-hook 'after-change-functions
