   (setq helm-org-rifle-show-path nil)
   (setq helm-org-rifle-show-todo-keywords nil)
 
- ;; (setq org-contacts-files '("~/notes/people.org.gpg"))
+  ;; (setq org-contacts-files '("~/notes/people.org.gpg"))
 
   ;; Best-effort log CREATED timestamp.
   ;; Call (org-expiry-insert-created) to manually insert timestamps.

     `(org-level-3 ((t (,@headline :height 1.1))))
     `(org-level-2 ((t (,@headline :height 1.2))))
     `(org-level-1 ((t (,@headline :height 1.3))))
     `(org-document-title ((t (,@headline :height 1.6 :underline nil))))))

  ;; Hooks
  (add-hook 'org-clock-in-hook 'sa/clock-in)
  (add-hook 'org-clock-out-hook 'sa/clock-out)

  (add-to-list '+word-wrap-visual-modes 'org-mode)
  (add-hook 'org-mode-hook #'(lambda ()
                               ;;(adaptive-wrap-prefix-mode 1)
                               (auto-fill-mode -1)
                               (+word-wrap-mode)
                               (auto-revert-mode 1)
                               ;; (hidden-mode-line-mode)
                               (setq line-spacing 0.6)
                               ;; (turn-off-fci-mode)

(setq epa-file-cache-passphrase-for-symmetric-encryption t)
(setq doom-theme 'doom-one-light)

;; Save all buffers when focusing out of emacs window.
(defun sa/save-all ()
  (interactive)
  (save-some-buffers t))
(add-hook! 'focus-out-hook 'sa/save-all)

(defadvice org-agenda-quit
    (after close-agenda-quickview)
