aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorGlenn Morris2013-12-28 00:21:33 -0800
committerGlenn Morris2013-12-28 00:21:33 -0800
commit9c5a5c77000b452bdf3ee98e366d5ee6df54b5a4 (patch)
treeef44cc96cd987b6c079fd1533ab9d9b896980758 /lisp/progmodes/ruby-mode.el
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.
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el11
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."
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