Permalink
Browse files

Give types to customize variables

Otherwise, when using customize the user must enter "quotes" around his
input for the value to become a string
  • Loading branch information...
1 parent e89b321 commit 78eb2050fe6af7a14f640f9038d5192a6f915030 @rudi rudi committed May 17, 2010
Showing with 6 additions and 3 deletions.
  1. +6 −3 simplenote.el
View
@@ -31,17 +31,20 @@
(defcustom simplenote-directory (expand-file-name "~/.simplenote/")
"Simplenote directory."
- :safe t
+ :type 'directory
+ :safe 'stringp
:group 'simplenote)
(defcustom simplenote-email nil
"Simplenote account email."
- :safe t
+ :type 'string
+ :safe 'stringp
:group 'simplenote)
(defcustom simplenote-password nil
"Simplenote account password."
- :safe t
+ :type 'string
+ :safe 'stringp
:group 'simplenote)

0 comments on commit 78eb205

Please sign in to comment.