   ;; 2-char indent for java.
   (defvar c-basic-offset)
   (setq c-basic-offset 2)
-  ;; 100-column limit for java.
   (set-fill-column 100))
 
 (add-hook 'java-mode-hook #'ar/java-mode-hook-function)

            t t)
  (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)
  (hl-line-mode)
  (rainbow-mode)

;; Keep syntax highlighting in the current line.
;; (set-face-foreground 'highlight nil)

;;  From http://doc.rix.si/org/fsem.html
(defun ar/gnulinuxp ()
  "Return t if the system is a GNU/Linux machine, otherwise nil."
