    (setq org-refile-targets '((nil :maxlevel . 9)
                               (org-agenda-files :maxlevel . 9)))
    (setq org-completion-use-ido t)
-
-   (after 'org-mobile
-     (setq org-mobile-directory (concat org-directory "/MobileOrg"))
-     (unless (file-exists-p org-mobile-directory)
-       (make-directory org-mobile-directory))
-     (setq org-mobile-inbox-for-pull (concat org-directory "/from-mobile.org")))
 
    (after 'evil
      (add-hook 'org-capture-mode-hook #'evil-emacs-state))


   (setq org-agenda-files `(,org-directory))
   (setq org-capture-templates
         '(("t" "Todo" entry (file+headline my-inbox-org-file "INBOX")
            "* TODO %?\n%U\n%a\n")
           ("n" "Note" entry (file+headline my-inbox-org-file "NOTES")
            "* %? :NOTE:\n%U\n%a\n")
           ("m" "Meeting" entry (file my-inbox-org-file)
            "* MEETING %? :MEETING:\n%U")
           ("j" "Journal" entry (file+datetree (concat org-directory "/journal.org"))
            "* %?\n%U\n")))

   (setq org-use-fast-todo-selection t)
   (setq org-treat-S-cursor-todo-selection-as-state-change nil)

(after 'org
  (defgroup dotemacs-org nil
    "Configuration options for org-mode."
    :group 'dotemacs
    :prefix 'dotemacs-org)

  (defcustom dotemacs-org/journal-file (concat org-directory "/journal.org")
    "The path to the file where you want to make journal entries."
    :type 'file
    :group 'dotemacs-org)

  (defcustom dotemacs-org/inbox-file (concat org-directory "/inbox.org")
    "The path to the file where to capture notes."
    :type 'file
    :group 'dotemacs-org))

(add-hook
 'org-load-hook
 (lambda ()
   (unless (file-exists-p org-directory)
     (make-directory org-directory))

   (setq org-default-notes-file (expand-file-name dotemacs-org/inbox-file))
   (setq org-log-done t)

   (setq org-startup-indented t)
