[前][次][番号順一覧][スレッド一覧]

ruby-changes:28349

From: hsbt <ko1@a...>
Date: Sun, 21 Apr 2013 19:05:04 +0900 (JST)
Subject: [ruby-changes:28349] hsbt:r40401 (trunk): Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]

hsbt	2013-04-21 19:04:54 +0900 (Sun, 21 Apr 2013)

  New Revision: 40401

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40401

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

  Modified files:
    trunk/misc/ruby-mode.el

Index: misc/ruby-mode.el
===================================================================
--- misc/ruby-mode.el	(revision 40400)
+++ misc/ruby-mode.el	(revision 40401)
@@ -874,7 +874,7 @@ Also ignores spaces after parenthesis wh https://github.com/ruby/ruby/blob/trunk/misc/ruby-mode.el#L874
 
 (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)))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]