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

ruby-additional.el: change key

* misc/ruby-additional.el (ruby-encode-unicode): change key
  binding to get rid of conflict with uncomment-region.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-07-29 07:41:42 +00:00
parent c82b44e1b4
commit 9a8b21b3b6

View file

@ -106,7 +106,7 @@ Emacs to Ruby."
(t (when ruby-insert-encoding-magic-comment
(insert "# -*- coding: " coding-system " -*-\n"))))))))
(define-key ruby-mode-map "\C-c\C-u" 'ruby-encode-unicode)
(define-key ruby-mode-map "\C-cU" 'ruby-encode-unicode)
(defun ruby-encode-unicode (beg end)
"Convert non-ascii string in the given region to \\u{} form."