summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-21 10:04:54 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-21 10:04:54 +0000
commit595825dc577616862b271ffac4c58eb27f0610af (patch)
treeec2ec1938bd4f42e2b2550267ec45e5ace567e12 /misc
parent8f671120f1d99b47f28d67183855d634d006389a (diff)
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
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index dcaa396a2e..ace0f2794f 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -874,7 +874,7 @@ Also ignores spaces after parenthesis when 'space."
(defun ruby-electric-brace (arg)
(interactive "P")
- (insert-char last-command-char 1)
+ (insert-char last-command-event 1)
(ruby-indent-line t)
(delete-char -1)
(self-insert-command (prefix-numeric-value arg)))