Improve a couple of changelog entries.
authorBozhidar Batsov <bozhidar@batsov.com>
Tue, 26 Nov 2013 10:38:19 +0000 (12:38 +0200)
committerBozhidar Batsov <bozhidar@batsov.com>
Tue, 26 Nov 2013 10:38:19 +0000 (12:38 +0200)
lisp/ChangeLog
test/ChangeLog

index 4e6442f..25dcbc6 100644 (file)
        * subr.el (version-regexp-alist):
        Recognize hg, svn and darcs versions as snapshot versions.
 
-       * progmodes/ruby-mode.el (ruby-mode-set-encoding):
-       Add the ability to always insert an utf-8 encoding comment.
-       Fix and simplify coding comment update logic.
+       * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
+       'always-utf8 value of `ruby-insert-encoding-magic-comment'.
+       (ruby--encoding-comment-required-p): Extract from
+       `ruby-mode-set-encoding'.
+       (ruby-mode-set-encoding): Add the ability to always insert an
+       utf-8 encoding comment.  Fix and simplify coding comment update
+       logic.
 
 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
 
 
 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
 
-       * progmodes/ruby-mode.el (ruby-mode-set-encoding):
-       Use `ruby-encoding-magic-comment-style' to control the
-       style of the auto-inserted encoding comment.
+       * progmodes/ruby-mode.el: Improve encoding comment handling.
+       (ruby-encoding-magic-comment-style): New option.
+       (ruby-custom-encoding-magic-comment-template): New option.
+       (ruby--insert-coding-comment, ruby--detect-encoding): New
+       functions extracted from `ruby-mode-set-encoding'.
+       (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
+       to control the style of the auto-inserted encoding comment.
 
 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
 
index a0c17f6..d22c47f 100644 (file)
 
 2013-11-20  Bozhidar Batsov <bozhidar@batsov.com>
 
-       * test/automated/ruby-mode-tests.el:
+       * test/automated/ruby-mode-tests.el (ruby-exit!-font-lock):
        Add a failing test for Bug#15874.
-       * test/automated/ruby-mode-tests.el:
+       * test/automated/ruby-mode-tests.el
+       (ruby--insert-coding-comment-ruby-style)
+       (ruby--insert-coding-comment-emacs-style)
+       (ruby--insert-coding-comment-custom-style):
        Add a few tests for `ruby--insert-coding-comment'.
 
 2013-11-18  Paul Eggert  <eggert@cs.ucla.edu>