 (global-set-key (kbd "M-g f") 'ff-find-other-file)
 
 (add-hook 'sh-mode-hook
-	  (lambda () (setq indent-tabs-mode t sh-basic-offset 8)))
+	  (lambda () (setq indent-tabs-mode nil sh-basic-offset 4)))
 (add-hook 'java-mode-hook
 	  (lambda () (setq c-basic-offset 8 tab-width 8 indent-tabs-mode t)))
 

    (global-set-key (kbd "C-c SPC") 'ace-jump-mode)
    ;; Don't let org-mode grab the binding.
    (add-hook 'org-mode-hook
	      '(lambda () (define-key org-mode-map (kbd "C-c SPC") nil)))))

;;; http://www.emacswiki.org/emacs/HideRegion
(let ((fn "~/lib/emacs/hide-region/hide-region.el"))

(when (file-readable-p "~/lib/emacs/htmlize.el")
  (autoload 'htmlize-buffer "~/lib/emacs/htmlize.el" nil t))

(when (file-readable-p "~/lib/emacs/local.el")
  (load "~/lib/emacs/local.el"))

(when (file-accessible-directory-p "/opt/local/share/info/")
  ;; # Create a `dir' file, if necessary:
  ;; cd /opt/local/share/info
  ;; if ! [ -f dir ]; then
  ;;     for f in {coreutils,make,gawk,gsed}.info {libc,gcc,cpp,gdb}.info.gz; do
  ;;         sudo install-info $f dir
  ;;     done
  ;; fi
  (add-hook 'Info-mode-hook
	    (lambda ()
	      (setq Info-additional-directory-list
		    '("/opt/local/share/info/")))))

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
