diff options
author | Glenn Morris <rgm@gnu.org> | 2013-12-28 00:21:33 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-12-28 00:21:33 -0800 |
commit | 9c5a5c77000b452bdf3ee98e366d5ee6df54b5a4 (patch) | |
tree | ef44cc96cd987b6c079fd1533ab9d9b896980758 /lisp/textmodes/rst.el | |
parent | 7e99158aac0347f62647618200fc5d90681cd2e9 (diff) | |
download | emacs-9c5a5c77000b452bdf3ee98e366d5ee6df54b5a4.tar.gz |
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.
Diffstat (limited to 'lisp/textmodes/rst.el')
-rw-r--r-- | lisp/textmodes/rst.el | 7 |
1 files changed, 7 insertions, 0 deletions
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." (defcustom rst-toc-indent 2 "Indentation for table-of-contents display. Also used for formatting insertion, when numbering is disabled." + :type 'integer :group 'rst-toc) (rst-testcover-defcustom) @@ -2307,11 +2308,16 @@ indentation style: - fixed: numbering, but fixed indentation - aligned: numbering, titles aligned under each other - listed: numbering, with dashes like list items (EXPERIMENTAL)" + :type '(choice (const plain) + (const fixed) + (const aligned) + (const listed)) :group 'rst-toc) (rst-testcover-defcustom) (defcustom rst-toc-insert-number-separator " " "Separator that goes between the TOC number and the title." + :type 'string :group 'rst-toc) (rst-testcover-defcustom) @@ -2324,6 +2330,7 @@ indentation style: (defcustom rst-toc-insert-max-level nil "If non-nil, maximum depth of the inserted TOC." + :type '(choice (const nil) integer) :group 'rst-toc) (rst-testcover-defcustom) |