Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 593855a

Browse files
committed
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 449822c commit 593855a

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Tue Oct 8 04:12:45 2013 Akinori MUSHA <knu@iDaemons.org>
2+
3+
* misc/ruby-additional.el (ruby-mode-set-encoding): Add a missing
4+
else clause to unbreak with `cp932`, etc.
5+
6+
* misc/ruby-mode.el (ruby-mode-set-encoding): Ditto.
7+
18
Tue Oct 8 03:57:34 2013 Akinori MUSHA <knu@iDaemons.org>
29

310
* misc/ruby-additional.el (ruby-mode-set-encoding): Use

misc/ruby-additional.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ Emacs to Ruby."
117117
(coding-system-get default-buffer-file-coding-system :coding-type)
118118
'ascii-8bit)))
119119
((memq coding-type '(utf-8 shift-jis))
120-
coding-type))))))
120+
coding-type)
121+
(t coding-system))))))
121122
(coding-system
122123
(or coding-system
123124
'us-ascii))

misc/ruby-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ Emacs to Ruby."
360360
(coding-system-get default-buffer-file-coding-system :coding-type)
361361
'ascii-8bit)))
362362
((memq coding-type '(utf-8 shift-jis))
363-
coding-type))))))
363+
coding-type)
364+
(t coding-system))))))
364365
(coding-system
365366
(or coding-system
366367
'us-ascii))

0 commit comments

Comments
 (0)