From: Bozhidar Batsov Date: Wed, 20 Nov 2013 10:52:07 +0000 (+0200) Subject: * lisp/progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template): X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~773 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=638af3a10fcce157e41437d45a4a075c95dd555a;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template): Change default to "# encoding: %s" to differentiate it from the default Ruby encoding comment template. --- diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 28c44307ff2..0e507b82115 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -272,7 +272,7 @@ even if it's not required." (const :tag "Custom Style" custom)) :group 'ruby) -(defcustom ruby-custom-encoding-magic-comment-template "# coding: %s" +(defcustom ruby-custom-encoding-magic-comment-template "# encoding: %s" "The encoding comment template to be used when `ruby-encoding-magic-comment-style' is set to `custom'." :type 'string