Browse Source

org-crypt.el: fix the default value of `org-crypt-key' (should be a string).

Bastien Guerry 14 years ago
parent
commit
37ac289714
1 changed files with 7 additions and 4 deletions
  1. 7 4
      lisp/org-crypt.el

+ 7 - 4
lisp/org-crypt.el

@@ -80,19 +80,22 @@
 
 
 (defgroup org-crypt nil
 (defgroup org-crypt nil
   "Org Crypt"
   "Org Crypt"
-  :tag "Org Crypt" :group 'org)
+  :tag "Org Crypt" 
+  :group 'org)
 
 
 (defcustom org-crypt-tag-matcher "crypt"
 (defcustom org-crypt-tag-matcher "crypt"
   "The tag matcher used to find headings whose contents should be encrypted.
   "The tag matcher used to find headings whose contents should be encrypted.
 
 
 See the \"Match syntax\" section of the org manual for more details."
 See the \"Match syntax\" section of the org manual for more details."
-  :type 'string :group 'org-crypt)
+  :type 'string 
+  :group 'org-crypt)
 
 
-(defcustom org-crypt-key nil
+(defcustom org-crypt-key ""
   "The default key to use when encrypting the contents of a heading.
   "The default key to use when encrypting the contents of a heading.
 
 
 This setting can also be overridden in the CRYPTKEY property."
 This setting can also be overridden in the CRYPTKEY property."
-  :type 'string :group 'org-crypt)
+  :type 'string 
+  :group 'org-crypt)
 
 
 (defun org-crypt-key-for-heading ()
 (defun org-crypt-key-for-heading ()
   "Return the encryption key for the current heading."
   "Return the encryption key for the current heading."