 (define-obsolete-variable-alias '+org-dir 'org-directory "2.1.0")
 
 (defvar org-directory "~/org/")
+
+(defvar org-modules
+  '(org-w3m
+    ;; org-bbdb
+    org-bibtex
+    org-docview
+    ;; org-gnus
+    org-info
+    ;; org-irc
+    ;; org-mhe
+    ;; org-rmail
+    ))
 
 ;; Sub-modules
 (if (featurep! +attach)  (load! "+attach"))

;; Built-in libraries

(def-package! org-crypt ; built-in
  :commands org-crypt-use-before-save-magic
  :config
  (setq org-tags-exclude-from-inheritance '("crypt")
        org-crypt-key user-mail-address))

(def-package! org-clock
  :commands org-clock-save
  :hook (org-mode . org-clock-load)
  :defer-incrementally t
  :init
  (setq org-clock-persist 'history
        org-clock-persist-file (concat doom-etc-dir "org-clock-save.el"))
