[前][次][番号順一覧][スレッド一覧]

ruby-changes:31109

From: knu <ko1@a...>
Date: Tue, 8 Oct 2013 04:15:20 +0900 (JST)
Subject: [ruby-changes:31109] knu:r43188 (trunk): * misc/ruby-additional.el (ruby-mode-set-encoding): Add a missing

knu	2013-10-08 04:15:11 +0900 (Tue, 08 Oct 2013)

  New Revision: 43188

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43188

  Log:
    * misc/ruby-additional.el (ruby-mode-set-encoding): Add a missing
      else clause to unbreak with `cp932`, etc.
    
    * misc/ruby-mode.el (ruby-mode-set-encoding): Ditto.

  Modified files:
    trunk/ChangeLog
    trunk/misc/ruby-additional.el
    trunk/misc/ruby-mode.el
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43187)
+++ ChangeLog	(revision 43188)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Oct  8 04:12:45 2013  Akinori MUSHA  <knu@i...>
+
+	* misc/ruby-additional.el (ruby-mode-set-encoding): Add a missing
+	  else clause to unbreak with `cp932`, etc.
+
+	* misc/ruby-mode.el (ruby-mode-set-encoding): Ditto.
+
 Tue Oct  8 03:57:34 2013  Akinori MUSHA  <knu@i...>
 
 	* misc/ruby-additional.el (ruby-mode-set-encoding): Use
Index: misc/ruby-mode.el
===================================================================
--- misc/ruby-mode.el	(revision 43187)
+++ misc/ruby-mode.el	(revision 43188)
@@ -360,7 +360,8 @@ Emacs to Ruby." https://github.com/ruby/ruby/blob/trunk/misc/ruby-mode.el#L360
                                  (coding-system-get default-buffer-file-coding-system :coding-type)
                                  'ascii-8bit)))
                         ((memq coding-type '(utf-8 shift-jis))
-                         coding-type))))))
+                         coding-type)
+                        (t coding-system))))))
          (coding-system
           (or coding-system
               'us-ascii))
Index: misc/ruby-additional.el
===================================================================
--- misc/ruby-additional.el	(revision 43187)
+++ misc/ruby-additional.el	(revision 43188)
@@ -117,7 +117,8 @@ Emacs to Ruby." https://github.com/ruby/ruby/blob/trunk/misc/ruby-additional.el#L117
                                       (coding-system-get default-buffer-file-coding-system :coding-type)
                                       'ascii-8bit)))
                              ((memq coding-type '(utf-8 shift-jis))
-                              coding-type))))))
+                              coding-type)
+                             (t coding-system))))))
               (coding-system
                (or coding-system
                    'us-ascii))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]