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

Replace use of obsolete variable last-command-char by @maser [fix GH-290]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2013-04-21 10:04:54 +00:00
parent 8f671120f1
commit 595825dc57

View file

@ -874,7 +874,7 @@ Also ignores spaces after parenthesis when 'space."
(defun ruby-electric-brace (arg) (defun ruby-electric-brace (arg)
(interactive "P") (interactive "P")
(insert-char last-command-char 1) (insert-char last-command-event 1)
(ruby-indent-line t) (ruby-indent-line t)
(delete-char -1) (delete-char -1)
(self-insert-command (prefix-numeric-value arg))) (self-insert-command (prefix-numeric-value arg)))