1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo in misc/ruby-additional.el.

* misc/ruby-additional.el (ruby-mode-set-encoding): Unbreak by
  fixing a typo, s/set/setq/.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2012-12-03 06:52:47 +00:00
parent 38766319e1
commit ca4a5bd9d7
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Mon Dec 3 15:50:33 2012 Akinori MUSHA <knu@iDaemons.org>
* misc/ruby-additional.el (ruby-mode-set-encoding): Unbreak by
fixing a typo, s/set/setq/.
Mon Dec 03 14:14:19 2012 Koichi Sasada <ko1@atdot.net>
* compile.c (iseq_compile_each): joke shouldn't use id.h defined ids.

View file

@ -67,9 +67,9 @@ Now encoding needs to be set always explicitly actually."
(if (re-search-forward "[^\0-\177]" nil t)
(progn
(goto-char (point-min))
(set coding-system
(or coding-system-for-write
buffer-file-coding-system))
(setq coding-system
(or coding-system-for-write
buffer-file-coding-system))
(if coding-system
(setq coding-system
(or (coding-system-get coding-system 'mime-charset)