Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/ruby-mode/files: ruby-mode-1.9.3_p429-last-command-char.patch
Date: Sun, 19 May 2013 07:43:55
Message-Id: 20130519074350.D044D20081@flycatcher.gentoo.org
1 graaff 13/05/19 07:43:50
2
3 Added: ruby-mode-1.9.3_p429-last-command-char.patch
4 Log:
5 Version bump to latest ruby version in tree. Add additional upstream fix for obsolete last-command-char use.
6
7 (Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
8
9 Revision Changes Path
10 1.1 app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch?rev=1.1&content-type=text/plain
14
15 Index: ruby-mode-1.9.3_p429-last-command-char.patch
16 ===================================================================
17 commit 595825dc577616862b271ffac4c58eb27f0610af
18 Author: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
19 Date: Sun Apr 21 10:04:54 2013 +0000
20
21 Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]
22
23
24 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
25
26 diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
27 index dcaa396..ace0f27 100644
28 --- a/misc/ruby-mode.el
29 +++ b/misc/ruby-mode.el
30 @@ -874,7 +874,7 @@ Also ignores spaces after parenthesis when 'space."
31
32 (defun ruby-electric-brace (arg)
33 (interactive "P")
34 - (insert-char last-command-char 1)
35 + (insert-char last-command-event 1)
36 (ruby-indent-line t)
37 (delete-char -1)
38 (self-insert-command (prefix-numeric-value arg)))