Org: Encrypt todo and contacts
parent
b10bc94e47
commit
090b88a3b9
|
@ -24,7 +24,7 @@
|
|||
indent-tabs-mode nil)
|
||||
|
||||
;;; Agendas.
|
||||
(add-to-list 'org-agenda-files "~/personal/todo/todo.org")
|
||||
(add-to-list 'org-agenda-files "~/personal/todo/todo.org.gpg")
|
||||
(defun ambrevar/org-switch-agenda-file (&optional other-window)
|
||||
"Switch between org-agenda and the first org-agenda-files."
|
||||
(interactive "P")
|
||||
|
@ -51,7 +51,7 @@
|
|||
(add-hook 'org-mode-hook fun))
|
||||
|
||||
(when (require 'org-contacts nil t)
|
||||
(let ((contacts "~/personal/contacts/contacts.org"))
|
||||
(let ((contacts "~/personal/contacts/contacts.org.gpg"))
|
||||
(when (file-exists-p contacts)
|
||||
;; When used to auto-complete e-mail addresses, the file is automatically
|
||||
;; loaded. The buffer usually need not be restored by a desktop session.
|
||||
|
|
|
@ -58,3 +58,7 @@ cmd = man -P cat
|
|||
|
||||
[credential]
|
||||
helper = netrc
|
||||
|
||||
[diff "gpg"]
|
||||
binary = true
|
||||
textconv = gpg -d --quiet --yes --compress-algo=none --no-encrypt-to
|
Loading…
Reference in New Issue