diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2021-04-28 05:11:36 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2021-04-28 05:11:36 +0300 |
commit | 6a078097c98902b3d90ec614a8f96d027203c812 (patch) | |
tree | 8e3dd9f5b62b32a0541795e59f809d0c6a508e86 /test/lisp/progmodes/ruby-mode-tests.el | |
parent | c62262736ca9fd5a012565fb5ab50e2dd4ff6a4b (diff) | |
download | emacs-6a078097c98902b3d90ec614a8f96d027203c812.tar.gz emacs-6a078097c98902b3d90ec614a8f96d027203c812.tar.bz2 emacs-6a078097c98902b3d90ec614a8f96d027203c812.zip |
Don't add magic comment to Ruby files for utf-8 encoding
* lisp/progmodes/ruby-mode.el (ruby-encoding-map):
Add entry for utf-8 (bug#48043).
(ruby--detect-encoding): Don't convert to string too early, so
that returning nil is meaningful.
(ruby-mode-set-encoding): Convert to string here.
Diffstat (limited to 'test/lisp/progmodes/ruby-mode-tests.el')
0 files changed, 0 insertions, 0 deletions