 ; don't mess with special buffers (*scratch*, etc.)
 (setq uniquify-ignore-buffers-re "^\\*")
 
-;;; General modes
+;;;; General modes
 (add-hook 'text-mode-hook
           '(lambda () (auto-fill-mode t) ))
 (add-hook 'text-mode-hook
           '(lambda () (setq fill-column 78)))
 
-;;; Programming modes
-;; Magit
+;;;; Programming modes
+;;;; Magit
 (use-package magit)
 (global-set-key [(control x) (v) (b)] 'magit-status)
 (global-set-key (kbd "C-x g") 'magit-status)

(setq desktop-restore-eager 10)
(run-at-time "10 min" (* 10 60) 'desktop-save-in-desktop-dir)

;;; General appearance
; frame appearance
(setq initial-frame-alist '(
                            (menu-bar-lines . 0)

(font-lock-add-keywords 'java-mode (font-lock-width-keyword 80))
(font-lock-add-keywords 'borgmon-mode (font-lock-width-keyword 80))

;;;; Python
(setq py-indent-offset 2)

;;;; Ruby
(use-package inf-ruby
  :init
  (add-hook 'ruby-mode-hook 'inf-ruby-minor-mode))
