Commit ce3ed6e0 authored by Mauro Aranda's avatar Mauro Aranda Committed by Dmitry Gutov
Browse files

Fix a defcustom :type

* lisp/progmodes/ruby-mode.el (ruby-insert-encoding-magic-comment):
Allow always-utf8.  (Bug#66498)
parent 57ffdfb5
Pipeline #26738 failed with stages
in 138 minutes and 26 seconds
......@@ -516,7 +516,9 @@ is customizable via `ruby-encoding-magic-comment-style'.
When set to `always-utf8' an utf-8 comment will always be added,
even if it's not required."
:type 'boolean :group 'ruby)
:type '(choice (const :tag "Don't insert" nil)
(const :tag "Insert utf-8 comment always" always-utf8)
(const :tag "Insert only when required" t)))
(defcustom ruby-encoding-magic-comment-style 'ruby
"The style of the magic encoding comment to use."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment