* progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template),
(ruby-encoding-magic-comment-style): Add :version.
This commit is contained in:
parent
d19ffd647d
commit
15ba218206
2 changed files with 6 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
* progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
|
||||
Improve docstring.
|
||||
Add :version.
|
||||
(ruby-encoding-magic-comment-style): Add :version.
|
||||
|
||||
2013-11-22 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
|
|
|
@ -270,13 +270,15 @@ even if it's not required."
|
|||
(const :tag "Emacs Style" emacs)
|
||||
(const :tag "Ruby Style" ruby)
|
||||
(const :tag "Custom Style" custom))
|
||||
:group 'ruby)
|
||||
:group 'ruby
|
||||
:version "24.4")
|
||||
|
||||
(defcustom ruby-custom-encoding-magic-comment-template "# encoding: %s"
|
||||
"A custom encoding comment template.
|
||||
It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
|
||||
:type 'string
|
||||
:group 'ruby)
|
||||
:group 'ruby
|
||||
:version "24.4")
|
||||
|
||||
(defcustom ruby-use-encoding-map t
|
||||
"Use `ruby-encoding-map' to set encoding magic comment if this is non-nil."
|
||||
|
|
Loading…
Add table
Reference in a new issue