 (use-package pyautomagic
   :load-path user-lisp-directory)
 
-(use-package sgml-mode
-    :config
-    (add-hook 'sgml-mode-hook
-	    (lambda ()
-            (setq indent-tabs-mode nil))))
-
 (provide '.emacs-custom)
 ;;; .emacs-custom.el ends here

  (setq custom-theme-allow-multiple-selections nil)
  (setq-default theme-load-from-file t)
  (setq user-full-name "Matt Russell")
  (keyfreq-mode)
  (menu-bar-mode 0)
  (helm-mode 1))

(use-package org
  :bind (("C-c l" . org-store-link)
	 ("C-c c" . org-capture)
	 ("C-c C-x i" . org-clock-in)
	 ("C-c C-x o" . org-clock-out)
	 ("C-c a" . org-agenda)
	 ("C-c C-x a" . org-cycle-agenda-files)
	 ("C-c C-x s" . org-mode--show-agenda)
            ("C-c b" . org-iswitchb))
  :preface
  (defun list-org-files (directory)
    "List all `org-mode' files under DIRECTORY."
    (-filter (apply-partially #'s-ends-with? ".org")
	     (-filter #'f-file? (f-entries directory))))
  :config
  (setq org-clock-persist t)
  (setq org-log-done #'time)


(defun add-to-hooks (function mode-hooks)
  "Add FUNCTION to multiple modes MODE-HOOKS."
    (mapc (lambda (hook) (add-hook hook function)) mode-hooks))

;; Keypress frequency tracking.
(use-package keyfreq)
