aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-12-28 00:21:33 -0800
committerGlenn Morris2013-12-28 00:21:33 -0800
commit9c5a5c77000b452bdf3ee98e366d5ee6df54b5a4 (patch)
treeef44cc96cd987b6c079fd1533ab9d9b896980758
parent7e99158aac0347f62647618200fc5d90681cd2e9 (diff)
downloademacs-9c5a5c77000b452bdf3ee98e366d5ee6df54b5a4.tar.gz
emacs-9c5a5c77000b452bdf3ee98e366d5ee6df54b5a4.zip
Every defcustom should specify its type
* apropos.el (apropos-match-face): * calculator.el (calculator-displayer): * dabbrev.el (dabbrev-search-these-buffers-only): * face-remap.el (buffer-face-mode-face): * simple.el (yank-handled-properties): * emacs-lisp/testcover.el (testcover-potentially-1value-functions): * mail/footnote.el (footnote-mode-line-string, footnote-prefix): * mail/hashcash.el (hashcash-accept-resources, hashcash-program) (hashcash-double-spend-database): * progmodes/ruby-mode.el (ruby-deep-indent-paren) (ruby-deep-indent-paren-style): * textmodes/flyspell.el (flyspell-auto-correct-binding): * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style) (rst-toc-insert-number-separator, rst-toc-insert-max-level): * vc/pcvs-defs.el (cvs-minor-mode-prefix): * erc/erc-log.el (erc-log-file-coding-system): * gnus/gnus-sieve.el (gnus-sieve-select-method): * gnus/gravatar.el (gravatar-automatic-caching, gravatar-cache-ttl) (gravatar-rating, gravatar-size): * gnus/message.el (message-minibuffer-local-map): * gnus/sieve-manage.el (sieve-manage-authenticators) (sieve-manage-authenticator-alist): Specify custom types. * mail/hashcash.el (hashcash-program): Rename from hashcash-path. Update callers.
-rw-r--r--lisp/ChangeLog20
-rw-r--r--lisp/apropos.el1
-rw-r--r--lisp/calculator.el1
-rw-r--r--lisp/dabbrev.el1
-rw-r--r--lisp/emacs-lisp/testcover.el3
-rw-r--r--lisp/erc/ChangeLog2
-rw-r--r--lisp/erc/erc-log.el1
-rw-r--r--lisp/face-remap.el3
-rw-r--r--lisp/gnus/ChangeLog7
-rw-r--r--lisp/gnus/gnus-sieve.el9
-rw-r--r--lisp/gnus/gravatar.el8
-rw-r--r--lisp/gnus/message.el2
-rw-r--r--lisp/gnus/sieve-manage.el6
-rw-r--r--lisp/mail/footnote.el7
-rw-r--r--lisp/mail/hashcash.el25
-rw-r--r--lisp/progmodes/ruby-mode.el11
-rw-r--r--lisp/simple.el2
-rw-r--r--lisp/textmodes/flyspell.el1
-rw-r--r--lisp/textmodes/rst.el7
-rw-r--r--lisp/vc/pcvs-defs.el1
20 files changed, 96 insertions, 22 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 37ab0c8b5c1..9996dae5932 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,25 @@
12013-12-28 Glenn Morris <rgm@gnu.org> 12013-12-28 Glenn Morris <rgm@gnu.org>
2 2
3 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4 Update callers.
5
6 * apropos.el (apropos-match-face):
7 * calculator.el (calculator-displayer):
8 * dabbrev.el (dabbrev-search-these-buffers-only):
9 * face-remap.el (buffer-face-mode-face):
10 * simple.el (yank-handled-properties):
11 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
13 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14 (hashcash-double-spend-database):
15 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
16 (ruby-deep-indent-paren-style):
17 * textmodes/flyspell.el (flyspell-auto-correct-binding):
18 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
19 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
20 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
21 Specify custom types.
22
3 * emacs-lisp/smie.el (smie-config): Add type, version, initialize. 23 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4 * bookmark.el (bookmark-bmenu-use-header-line): 24 * bookmark.el (bookmark-bmenu-use-header-line):
5 * doc-view.el (doc-view-scale-internally): 25 * doc-view.el (doc-view-scale-internally):
diff --git a/lisp/apropos.el b/lisp/apropos.el
index b7c5aaddcb1..b3921286d3b 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -131,6 +131,7 @@ include key-binding information in its output."
131 "Face for matching text in Apropos documentation/value, or nil for none. 131 "Face for matching text in Apropos documentation/value, or nil for none.
132This applies when you look for matches in the documentation or variable value 132This applies when you look for matches in the documentation or variable value
133for the pattern; the part that matches gets displayed in this font." 133for the pattern; the part that matches gets displayed in this font."
134 :type '(choice (const nil) face)
134 :group 'apropos 135 :group 'apropos
135 :version "24.3") 136 :version "24.3")
136 137
diff --git a/lisp/calculator.el b/lisp/calculator.el
index c4611c12d87..5eb7535b632 100644
--- a/lisp/calculator.el
+++ b/lisp/calculator.el
@@ -139,6 +139,7 @@ of digits displayed).
139An exception to the above is the case of the list (std C) where C is a 139An exception to the above is the case of the list (std C) where C is a
140character, in this case the `calculator-standard-displayer' function 140character, in this case the `calculator-standard-displayer' function
141will be used with this character for a format string." 141will be used with this character for a format string."
142 :type '(choice (function) (string) (list (const std) character) (sexp))
142 :group 'calculator) 143 :group 'calculator)
143 144
144(defcustom calculator-displayers 145(defcustom calculator-displayers
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index e2aeb4ea19b..42074cda579 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -285,6 +285,7 @@ A mode setting this variable should make it buffer local."
285If this variable is non-nil, dabbrev will only look in these buffers. 285If this variable is non-nil, dabbrev will only look in these buffers.
286It will not even look in the current buffer if it is not a member of 286It will not even look in the current buffer if it is not a member of
287this list." 287this list."
288 :type '(choice (const nil) (repeat :tag "List of buffers" string))
288 :group 'dabbrev) 289 :group 'dabbrev)
289 290
290;;---------------------------------------------------------------- 291;;----------------------------------------------------------------
diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el
index a5619583145..2ea97dee840 100644
--- a/lisp/emacs-lisp/testcover.el
+++ b/lisp/emacs-lisp/testcover.el
@@ -146,7 +146,8 @@ call to one of the `testcover-1value-functions'."
146 '(add-hook and beep or remove-hook unless when) 146 '(add-hook and beep or remove-hook unless when)
147 "Functions that are potentially 1-valued. No brown splotch if actually 147 "Functions that are potentially 1-valued. No brown splotch if actually
1481-valued, no error if actually multi-valued." 1481-valued, no error if actually multi-valued."
149 :group 'testcover) 149 :group 'testcover
150 :type '(repeat symbol))
150 151
151(defface testcover-nohits 152(defface testcover-nohits
152 '((t (:background "DeepPink2"))) 153 '((t (:background "DeepPink2")))
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index 9847ee49daf..46c93ccebd6 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,5 +1,7 @@
12013-12-28 Glenn Morris <rgm@gnu.org> 12013-12-28 Glenn Morris <rgm@gnu.org>
2 2
3 * erc-log.el (erc-log-file-coding-system): Specify custom type.
4
3 * erc-button.el (erc-button-alist): Fix custom type. 5 * erc-button.el (erc-button-alist): Fix custom type.
4 6
52013-11-25 Glenn Morris <rgm@gnu.org> 72013-11-25 Glenn Morris <rgm@gnu.org>
diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el
index c6ff8fa5bfe..368027579c4 100644
--- a/lisp/erc/erc-log.el
+++ b/lisp/erc/erc-log.el
@@ -202,6 +202,7 @@ If you set this to nil, you may want to enable both
202 202
203This should ideally, be a \"catch-all\" coding system, like 203This should ideally, be a \"catch-all\" coding system, like
204`emacs-mule', or `iso-2022-7bit'." 204`emacs-mule', or `iso-2022-7bit'."
205 :type 'coding-system
205 :group 'erc-log) 206 :group 'erc-log)
206 207
207(defcustom erc-log-filter-function nil 208(defcustom erc-log-filter-function nil
diff --git a/lisp/face-remap.el b/lisp/face-remap.el
index fb1d974e33e..3d931802c61 100644
--- a/lisp/face-remap.el
+++ b/lisp/face-remap.el
@@ -343,6 +343,9 @@ a top-level keymap, `text-scale-increase' or
343It may contain any value suitable for a `face' text property, 343It may contain any value suitable for a `face' text property,
344including a face name, a list of face names, a face-attribute 344including a face name, a list of face names, a face-attribute
345plist, etc." 345plist, etc."
346 :type '(choice (face)
347 (repeat :tag "List of faces" face)
348 (plist :tag "Face property list"))
346 :group 'display 349 :group 'display
347 :version "23.1") 350 :version "23.1")
348 351
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index bb944c14351..b740cbb6330 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,12 @@
12013-12-28 Glenn Morris <rgm@gnu.org> 12013-12-28 Glenn Morris <rgm@gnu.org>
2 2
3 * gnus-sieve.el (gnus-sieve-select-method):
4 * gravatar.el (gravatar-automatic-caching, gravatar-cache-ttl)
5 (gravatar-rating, gravatar-size):
6 * message.el (message-minibuffer-local-map):
7 * sieve-manage.el (sieve-manage-authenticators)
8 (sieve-manage-authenticator-alist): Specify custom types.
9
3 * gnus-icalendar.el (gnus-icalendar-org, gnus-icalendar): 10 * gnus-icalendar.el (gnus-icalendar-org, gnus-icalendar):
4 * gnus-sum.el (gnus-subthread-sort-functions): Add version. 11 * gnus-sum.el (gnus-subthread-sort-functions): Add version.
5 * gnus-sync.el (gnus-sync-file-encrypt-to): Add type and version. 12 * gnus-sync.el (gnus-sync-file-encrypt-to): Add type and version.
diff --git a/lisp/gnus/gnus-sieve.el b/lisp/gnus/gnus-sieve.el
index ee3cdf48e45..80ad6ab4123 100644
--- a/lisp/gnus/gnus-sieve.el
+++ b/lisp/gnus/gnus-sieve.el
@@ -46,21 +46,20 @@
46 :group 'gnus-sieve) 46 :group 'gnus-sieve)
47 47
48(defcustom gnus-sieve-region-start "\n## Begin Gnus Sieve Script\n" 48(defcustom gnus-sieve-region-start "\n## Begin Gnus Sieve Script\n"
49 "Line indicating the start of the autogenerated region in 49 "Line indicating the start of the autogenerated region in your Sieve script."
50your Sieve script."
51 :type 'string 50 :type 'string
52 :group 'gnus-sieve) 51 :group 'gnus-sieve)
53 52
54(defcustom gnus-sieve-region-end "\n## End Gnus Sieve Script\n" 53(defcustom gnus-sieve-region-end "\n## End Gnus Sieve Script\n"
55 "Line indicating the end of the autogenerated region in 54 "Line indicating the end of the autogenerated region in your Sieve script."
56your Sieve script."
57 :type 'string 55 :type 'string
58 :group 'gnus-sieve) 56 :group 'gnus-sieve)
59 57
60(defcustom gnus-sieve-select-method nil 58(defcustom gnus-sieve-select-method nil
61 "Which select method we generate the Sieve script for. 59 "Which select method we generate the Sieve script for.
62
63For example: \"nnimap:mailbox\"" 60For example: \"nnimap:mailbox\""
61 ;; FIXME? gnus-select-method?
62 :type '(choice (const nil) string)
64 :group 'gnus-sieve) 63 :group 'gnus-sieve)
65 64
66(defcustom gnus-sieve-crosspost t 65(defcustom gnus-sieve-crosspost t
diff --git a/lisp/gnus/gravatar.el b/lisp/gnus/gravatar.el
index 985ed2c7b0d..fa7e8fa7ce8 100644
--- a/lisp/gnus/gravatar.el
+++ b/lisp/gnus/gravatar.el
@@ -33,19 +33,25 @@
33 :group 'comm) 33 :group 'comm)
34 34
35(defcustom gravatar-automatic-caching t 35(defcustom gravatar-automatic-caching t
36 "Whether cache retrieved gravatar." 36 "Whether to cache retrieved gravatars."
37 :type 'boolean
37 :group 'gravatar) 38 :group 'gravatar)
38 39
40;; FIXME a time value is not the nicest format for a custom variable.
39(defcustom gravatar-cache-ttl (days-to-time 30) 41(defcustom gravatar-cache-ttl (days-to-time 30)
40 "Time to live for gravatar cache entries." 42 "Time to live for gravatar cache entries."
43 :type '(repeat integer)
41 :group 'gravatar) 44 :group 'gravatar)
42 45
46;; FIXME Doc is tautological. What are the options?
43(defcustom gravatar-rating "g" 47(defcustom gravatar-rating "g"
44 "Default rating for gravatar." 48 "Default rating for gravatar."
49 :type 'string
45 :group 'gravatar) 50 :group 'gravatar)
46 51
47(defcustom gravatar-size 32 52(defcustom gravatar-size 32
48 "Default size in pixels for gravatars." 53 "Default size in pixels for gravatars."
54 :type 'integer
49 :group 'gravatar) 55 :group 'gravatar)
50 56
51(defconst gravatar-base-url 57(defconst gravatar-base-url
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 11a51a79fce..063eb891173 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -944,6 +944,8 @@ the signature is inserted."
944 (set-keymap-parent map minibuffer-local-map) 944 (set-keymap-parent map minibuffer-local-map)
945 map) 945 map)
946 "Keymap for `message-read-from-minibuffer'." 946 "Keymap for `message-read-from-minibuffer'."
947 ;; FIXME improve type.
948 :type '(restricted-sexp :match-alternatives (symbolp keymapp))
947 :version "22.1" 949 :version "22.1"
948 :group 'message-various) 950 :group 'message-various)
949 951
diff --git a/lisp/gnus/sieve-manage.el b/lisp/gnus/sieve-manage.el
index 4221276e2ec..2784398b631 100644
--- a/lisp/gnus/sieve-manage.el
+++ b/lisp/gnus/sieve-manage.el
@@ -115,6 +115,10 @@
115 plain 115 plain
116 login) 116 login)
117 "Priority of authenticators to consider when authenticating to server." 117 "Priority of authenticators to consider when authenticating to server."
118 ;; FIXME Improve this. It's not `set'.
119 ;; It's like (repeat (choice (const ...))), where each choice can
120 ;; only appear once.
121 :type '(repeat symbol)
118 :group 'sieve-manage) 122 :group 'sieve-manage)
119 123
120(defcustom sieve-manage-authenticator-alist 124(defcustom sieve-manage-authenticator-alist
@@ -131,6 +135,8 @@
131NAME names the authenticator. CHECK is a function returning non-nil if 135NAME names the authenticator. CHECK is a function returning non-nil if
132the server support the authenticator and AUTHENTICATE is a function 136the server support the authenticator and AUTHENTICATE is a function
133for doing the actual authentication." 137for doing the actual authentication."
138 :type '(repeat (list (symbol :tag "Name") (function :tag "Check function")
139 (function :tag "Authentication function")))
134 :group 'sieve-manage) 140 :group 'sieve-manage)
135 141
136(defcustom sieve-manage-default-port "sieve" 142(defcustom sieve-manage-default-port "sieve"
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el
index 7ded4c31cf5..5dfc188d35c 100644
--- a/lisp/mail/footnote.el
+++ b/lisp/mail/footnote.el
@@ -45,6 +45,7 @@
45 45
46(defcustom footnote-mode-line-string " FN" 46(defcustom footnote-mode-line-string " FN"
47 "String to display in modes section of the mode-line." 47 "String to display in modes section of the mode-line."
48 :type 'string
48 :group 'footnote) 49 :group 'footnote)
49 50
50(defcustom footnote-mode-hook nil 51(defcustom footnote-mode-hook nil
@@ -86,10 +87,8 @@ displaying footnotes."
86 "Prefix key to use for Footnote command in Footnote minor mode. 87 "Prefix key to use for Footnote command in Footnote minor mode.
87The value of this variable is checked as part of loading Footnote mode. 88The value of this variable is checked as part of loading Footnote mode.
88After that, changing the prefix key requires manipulating keymaps." 89After that, changing the prefix key requires manipulating keymaps."
89 ;; FIXME: the type should be a key-sequence, but it seems Custom 90 :type 'key-sequence
90 ;; doesn't support that yet. 91 :group 'footnote)
91 ;; :type 'string
92 )
93 92
94;;; Interface variables that probably shouldn't be changed 93;;; Interface variables that probably shouldn't be changed
95 94
diff --git a/lisp/mail/hashcash.el b/lisp/mail/hashcash.el
index b6df075f7ef..07a428a20af 100644
--- a/lisp/mail/hashcash.el
+++ b/lisp/mail/hashcash.el
@@ -89,20 +89,25 @@ present, is the string to be hashed; if not present ADDR will be used."
89Resources named here are to be accepted in incoming payments. If the 89Resources named here are to be accepted in incoming payments. If the
90corresponding AMOUNT is NIL, the value of `hashcash-default-accept-payment' 90corresponding AMOUNT is NIL, the value of `hashcash-default-accept-payment'
91is used instead." 91is used instead."
92 :type 'alist
92 :group 'hashcash) 93 :group 'hashcash)
93 94
94(defcustom hashcash-path (executable-find "hashcash") 95(define-obsolete-variable-alias 'hashcash-path 'hashcash-program "24.4")
95 "The path to the hashcash binary." 96(defcustom hashcash-program "hashcash"
97 "The name of the hashcash executable.
98If this is not in your PATH, specify an absolute file name."
99 :type '(choice (const nil) file)
96 :group 'hashcash) 100 :group 'hashcash)
97 101
98(defcustom hashcash-extra-generate-parameters nil 102(defcustom hashcash-extra-generate-parameters nil
99 "A list of parameter strings passed to `hashcash-path' when minting. 103 "A list of parameter strings passed to `hashcash-program' when minting.
100For example, you may want to set this to '(\"-Z2\") to reduce header length." 104For example, you may want to set this to '(\"-Z2\") to reduce header length."
101 :type '(repeat string) 105 :type '(repeat string)
102 :group 'hashcash) 106 :group 'hashcash)
103 107
104(defcustom hashcash-double-spend-database "hashcash.db" 108(defcustom hashcash-double-spend-database "hashcash.db"
105 "The path to the double-spending database." 109 "The name of the double-spending database file."
110 :type 'file
106 :group 'hashcash) 111 :group 'hashcash)
107 112
108(defcustom hashcash-in-news nil 113(defcustom hashcash-in-news nil
@@ -159,10 +164,10 @@ For example, you may want to set this to '(\"-Z2\") to reduce header length."
159(defun hashcash-generate-payment (str val) 164(defun hashcash-generate-payment (str val)
160 "Generate a hashcash payment by finding a VAL-bit collison on STR." 165 "Generate a hashcash payment by finding a VAL-bit collison on STR."
161 (if (and (> val 0) 166 (if (and (> val 0)
162 hashcash-path) 167 hashcash-program)
163 (with-current-buffer (get-buffer-create " *hashcash*") 168 (with-current-buffer (get-buffer-create " *hashcash*")
164 (erase-buffer) 169 (erase-buffer)
165 (apply 'call-process hashcash-path nil t nil 170 (apply 'call-process hashcash-program nil t nil
166 "-m" "-q" "-b" (number-to-string val) str 171 "-m" "-q" "-b" (number-to-string val) str
167 hashcash-extra-generate-parameters) 172 hashcash-extra-generate-parameters)
168 (goto-char (point-min)) 173 (goto-char (point-min))
@@ -173,9 +178,9 @@ For example, you may want to set this to '(\"-Z2\") to reduce header length."
173 "Generate a hashcash payment by finding a VAL-bit collison on STR. 178 "Generate a hashcash payment by finding a VAL-bit collison on STR.
174Return immediately. Call CALLBACK with process and result when ready." 179Return immediately. Call CALLBACK with process and result when ready."
175 (if (and (> val 0) 180 (if (and (> val 0)
176 hashcash-path) 181 hashcash-program)
177 (let ((process (apply 'start-process "hashcash" nil 182 (let ((process (apply 'start-process "hashcash" nil
178 hashcash-path "-m" "-q" 183 hashcash-program "-m" "-q"
179 "-b" (number-to-string val) str 184 "-b" (number-to-string val) str
180 hashcash-extra-generate-parameters))) 185 hashcash-extra-generate-parameters)))
181 (setq hashcash-process-alist (cons 186 (setq hashcash-process-alist (cons
@@ -187,8 +192,8 @@ Return immediately. Call CALLBACK with process and result when ready."
187 192
188(defun hashcash-check-payment (token str val) 193(defun hashcash-check-payment (token str val)
189 "Check the validity of a hashcash payment." 194 "Check the validity of a hashcash payment."
190 (if hashcash-path 195 (if hashcash-program
191 (zerop (call-process hashcash-path nil nil nil "-c" 196 (zerop (call-process hashcash-program nil nil nil "-c"
192 "-d" "-f" hashcash-double-spend-database 197 "-d" "-f" hashcash-double-spend-database
193 "-b" (number-to-string val) 198 "-b" (number-to-string val)
194 "-r" str 199 "-r" str
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 51117e59f78..12e01cb2403 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -273,17 +273,26 @@ Only has effect when `ruby-use-smie' is nil."
273 :group 'ruby 273 :group 'ruby
274 :safe 'booleanp) 274 :safe 'booleanp)
275 275
276;; FIXME Woefully under documented. What is the point of the last `t'?.
276(defcustom ruby-deep-indent-paren '(?\( ?\[ ?\] t) 277(defcustom ruby-deep-indent-paren '(?\( ?\[ ?\] t)
277 "Deep indent lists in parenthesis when non-nil. 278 "Deep indent lists in parenthesis when non-nil.
278The value t means continuous line. 279The value t means continuous line.
279Also ignores spaces after parenthesis when `space'. 280Also ignores spaces after parenthesis when `space'.
280Only has effect when `ruby-use-smie' is nil." 281Only has effect when `ruby-use-smie' is nil."
282 :type '(choice (const nil)
283 character
284 (repeat (choice character
285 (cons character (choice (const nil)
286 (const t)))
287 (const t) ; why?
288 )))
281 :group 'ruby) 289 :group 'ruby)
282 290
283(defcustom ruby-deep-indent-paren-style 'space 291(defcustom ruby-deep-indent-paren-style 'space
284 "Default deep indent style. 292 "Default deep indent style.
285Only has effect when `ruby-use-smie' is nil." 293Only has effect when `ruby-use-smie' is nil."
286 :options '(t nil space) :group 'ruby) 294 :type '(choice (const t) (const nil) (const space))
295 :group 'ruby)
287 296
288(defcustom ruby-encoding-map 297(defcustom ruby-encoding-map
289 '((us-ascii . nil) ;; Do not put coding: us-ascii 298 '((us-ascii . nil) ;; Do not put coding: us-ascii
diff --git a/lisp/simple.el b/lisp/simple.el
index 624d87fd655..2b683d2e93b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3812,6 +3812,8 @@ end positions of the text.
3812This is done prior to removing the properties specified by 3812This is done prior to removing the properties specified by
3813`yank-excluded-properties'." 3813`yank-excluded-properties'."
3814 :group 'killing 3814 :group 'killing
3815 :type '(repeat (cons (symbol :tag "property symbol")
3816 function))
3815 :version "24.3") 3817 :version "24.3")
3816 3818
3817;; This is actually used in subr.el but defcustom does not work there. 3819;; This is actually used in subr.el but defcustom does not work there.
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 81f17c897eb..63a0e841411 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -283,6 +283,7 @@ If this variable is nil, all regions are treated as small."
283(defcustom flyspell-auto-correct-binding 283(defcustom flyspell-auto-correct-binding
284 [(control ?\;)] 284 [(control ?\;)]
285 "The key binding for flyspell auto correction." 285 "The key binding for flyspell auto correction."
286 :type 'key-sequence
286 :group 'flyspell) 287 :group 'flyspell)
287 288
288;;*---------------------------------------------------------------------*/ 289;;*---------------------------------------------------------------------*/
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el
index a841ec39314..47c15735f21 100644
--- a/lisp/textmodes/rst.el
+++ b/lisp/textmodes/rst.el
@@ -2296,6 +2296,7 @@ any."
2296(defcustom rst-toc-indent 2 2296(defcustom rst-toc-indent 2
2297 "Indentation for table-of-contents display. 2297 "Indentation for table-of-contents display.
2298Also used for formatting insertion, when numbering is disabled." 2298Also used for formatting insertion, when numbering is disabled."
2299 :type 'integer
2299 :group 'rst-toc) 2300 :group 'rst-toc)
2300(rst-testcover-defcustom) 2301(rst-testcover-defcustom)
2301 2302
@@ -2307,11 +2308,16 @@ indentation style:
2307- fixed: numbering, but fixed indentation 2308- fixed: numbering, but fixed indentation
2308- aligned: numbering, titles aligned under each other 2309- aligned: numbering, titles aligned under each other
2309- listed: numbering, with dashes like list items (EXPERIMENTAL)" 2310- listed: numbering, with dashes like list items (EXPERIMENTAL)"
2311 :type '(choice (const plain)
2312 (const fixed)
2313 (const aligned)
2314 (const listed))
2310 :group 'rst-toc) 2315 :group 'rst-toc)
2311(rst-testcover-defcustom) 2316(rst-testcover-defcustom)
2312 2317
2313(defcustom rst-toc-insert-number-separator " " 2318(defcustom rst-toc-insert-number-separator " "
2314 "Separator that goes between the TOC number and the title." 2319 "Separator that goes between the TOC number and the title."
2320 :type 'string
2315 :group 'rst-toc) 2321 :group 'rst-toc)
2316(rst-testcover-defcustom) 2322(rst-testcover-defcustom)
2317 2323
@@ -2324,6 +2330,7 @@ indentation style:
2324 2330
2325(defcustom rst-toc-insert-max-level nil 2331(defcustom rst-toc-insert-max-level nil
2326 "If non-nil, maximum depth of the inserted TOC." 2332 "If non-nil, maximum depth of the inserted TOC."
2333 :type '(choice (const nil) integer)
2327 :group 'rst-toc) 2334 :group 'rst-toc)
2328(rst-testcover-defcustom) 2335(rst-testcover-defcustom)
2329 2336
diff --git a/lisp/vc/pcvs-defs.el b/lisp/vc/pcvs-defs.el
index 182a030be25..1a29ec81147 100644
--- a/lisp/vc/pcvs-defs.el
+++ b/lisp/vc/pcvs-defs.el
@@ -424,6 +424,7 @@ This variable is buffer local and only used in the *cvs* buffer.")
424 424
425(defcustom cvs-minor-mode-prefix "\C-xc" 425(defcustom cvs-minor-mode-prefix "\C-xc"
426 "Prefix key for the `cvs-mode' bindings in `cvs-minor-mode'." 426 "Prefix key for the `cvs-mode' bindings in `cvs-minor-mode'."
427 :type 'string
427 :group 'pcl-cvs) 428 :group 'pcl-cvs)
428 429
429(easy-mmode-defmap cvs-minor-mode-map 430(easy-mmode-defmap cvs-minor-mode-map