mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Fix a defcustom :type
* lisp/progmodes/ruby-mode.el (ruby-insert-encoding-magic-comment): Allow always-utf8. (Bug#66498)
This commit is contained in:
parent
57ffdfb59b
commit
ce3ed6e019
1 changed files with 3 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue