From 4f4222c7318f30669438a8d4214891d0075482e2 Mon Sep 17 00:00:00 2001
From: Rick Moynihan <rick@calicojack.co.uk>
Date: Fri, 30 Apr 2010 11:55:05 +0100
Subject: [PATCH] Allow symmetric encryption, when org-crypt-key is not set.

---
 lisp/org-crypt.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-crypt.el b/lisp/org-crypt.el
index feab058..f6d9e04 100644
--- a/lisp/org-crypt.el
+++ b/lisp/org-crypt.el
@@ -97,7 +97,7 @@ heading.  This can also be overridden in the CRYPTKEY property."
     (or (org-entry-get nil "CRYPTKEY" 'selective)
         org-crypt-key
         (and (boundp 'epa-file-encrypt-to) epa-file-encrypt-to)
-        (error "No crypt key set"))))
+        (message "No crypt key set, using symmetric encryption."))))
 
 (defun org-encrypt-entry ()
   "Encrypt the content of the current headline."
-- 
1.6.0

