summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/ruby-mode-tests.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2021-04-28 05:11:36 +0300
committerDmitry Gutov <dgutov@yandex.ru>2021-04-28 05:11:36 +0300
commit6a078097c98902b3d90ec614a8f96d027203c812 (patch)
tree8e3dd9f5b62b32a0541795e59f809d0c6a508e86 /test/lisp/progmodes/ruby-mode-tests.el
parentc62262736ca9fd5a012565fb5ab50e2dd4ff6a4b (diff)
downloademacs-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