зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
449822c76c
Коммит
593855a0ff
|
@ -1,3 +1,10 @@
|
|||
Tue Oct 8 04:12:45 2013 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* 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@iDaemons.org>
|
||||
|
||||
* misc/ruby-additional.el (ruby-mode-set-encoding): Use
|
||||
|
|
|
@ -117,7 +117,8 @@ Emacs to Ruby."
|
|||
(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))
|
||||
|
|
|
@ -360,7 +360,8 @@ Emacs to Ruby."
|
|||
(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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче