Parcourir la source

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

Bastien Guerry il y a 14 ans
Parent
commit
37ac289714
1 fichiers modifiés avec 7 ajouts et 4 suppressions
  1. 7 4
      lisp/org-crypt.el

+ 7 - 4
lisp/org-crypt.el

@@ -80,19 +80,22 @@
 
 (defgroup org-crypt nil
   "Org Crypt"
-  :tag "Org Crypt" :group 'org)
+  :tag "Org Crypt" 
+  :group 'org)
 
 (defcustom org-crypt-tag-matcher "crypt"
   "The tag matcher used to find headings whose contents should be encrypted.
 
 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.
 
 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 ()
   "Return the encryption key for the current heading."