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/progmodes/ruby-mode.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/progmodes/ruby-mode.el')
-rw-r--r-- | lisp/progmodes/ruby-mode.el | 11 |
1 files changed, 10 insertions, 1 deletions
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." :group 'ruby :safe 'booleanp) +;; FIXME Woefully under documented. What is the point of the last `t'?. (defcustom ruby-deep-indent-paren '(?\( ?\[ ?\] t) "Deep indent lists in parenthesis when non-nil. The value t means continuous line. Also ignores spaces after parenthesis when `space'. Only has effect when `ruby-use-smie' is nil." + :type '(choice (const nil) + character + (repeat (choice character + (cons character (choice (const nil) + (const t))) + (const t) ; why? + ))) :group 'ruby) (defcustom ruby-deep-indent-paren-style 'space "Default deep indent style. Only has effect when `ruby-use-smie' is nil." - :options '(t nil space) :group 'ruby) + :type '(choice (const t) (const nil) (const space)) + :group 'ruby) (defcustom ruby-encoding-map '((us-ascii . nil) ;; Do not put coding: us-ascii |