aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-19 10:44:41 -0500
committerSean Allred <code@seanallred.com>2014-11-19 10:44:41 -0500
commit4399cbac0625a53c4a8d91e661e13fe11fdb8255 (patch)
tree13a7bacbf56a0bac33ef00153f36e489e9e2ffa2
parent0dd95e3a3d4ee52f52a585388c3ba65e045c305b (diff)
Add `customize' data
-rw-r--r--sx-cache.el4
-rw-r--r--sx-request.el8
-rw-r--r--sx.el4
3 files changed, 12 insertions, 4 deletions
diff --git a/sx-cache.el b/sx-cache.el
index 63025ea..049e171 100644
--- a/sx-cache.el
+++ b/sx-cache.el
@@ -30,7 +30,9 @@
(defcustom sx-cache-directory
(expand-file-name ".stackmode" user-emacs-directory)
- "Directory containining cached data.")
+ "Directory containing cached data."
+ :type 'directory
+ :group 'sx-cache)
(defun sx-cache--ensure-sx-cache-directory-exists ()
"Ensure `sx-cache-directory' exists."
diff --git a/sx-request.el b/sx-request.el
index 89c9a59..fc54bb3 100644
--- a/sx-request.el
+++ b/sx-request.el
@@ -76,7 +76,9 @@
"gunzip"
"Program used to unzip the response if it is compressed.
-This program must accept compressed data on standard input.")
+This program must accept compressed data on standard input."
+ :group 'sx-request
+ :type 'string)
(defvar sx-request-remaining-api-requests
nil
@@ -90,7 +92,9 @@ Set by `sx-request-make'.")
After `sx-request-remaining-api-requests' drops below this
number, `sx-request-make' will begin printing out the
-number of requests left every time it finishes a call.")
+number of requests left every time it finishes a call."
+ :group 'sx-request
+ :type 'integer)
;;; Making Requests
diff --git a/sx.el b/sx.el
index 8b2456d..4a5a275 100644
--- a/sx.el
+++ b/sx.el
@@ -173,7 +173,9 @@ is equivalent to
(defcustom sx-init-hook nil
"Hook run when stack-mode initializes.
-Run after `sx-init--internal-hook'.")
+Run after `sx-init--internal-hook'."
+ :group 'sx
+ :type 'hook)
(defvar sx-init--internal-hook nil
"Hook run when stack-mode initializes.