1 |
commit: c24cc9ba991f4c5dd5574adf3a5da29df1446dc8 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 4 05:55:25 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 4 05:55:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24cc9ba |
7 |
|
8 |
app-emacs/ruby-mode: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
.../ruby-mode/files/50ruby-mode-gentoo-2.2.2.el | 12 ------------ |
13 |
app-emacs/ruby-mode/files/50ruby-mode-gentoo.el | 11 ----------- |
14 |
.../ruby-mode-1.9.3_p429-last-command-char.patch | 22 ---------------------- |
15 |
3 files changed, 45 deletions(-) |
16 |
|
17 |
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el |
18 |
deleted file mode 100644 |
19 |
index 691abdfdaf9..00000000000 |
20 |
--- a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el |
21 |
+++ /dev/null |
22 |
@@ -1,12 +0,0 @@ |
23 |
-(add-to-list 'load-path "@SITELISP@") |
24 |
- |
25 |
-(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t) |
26 |
- |
27 |
-(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode)) |
28 |
-(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode)) |
29 |
-(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) |
30 |
- |
31 |
-(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t) |
32 |
-(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode") |
33 |
- |
34 |
-(add-hook 'ruby-mode-hook 'inf-ruby-keys) |
35 |
|
36 |
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el |
37 |
deleted file mode 100644 |
38 |
index c1f9602d19d..00000000000 |
39 |
--- a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el |
40 |
+++ /dev/null |
41 |
@@ -1,11 +0,0 @@ |
42 |
-(add-to-list 'load-path "@SITELISP@") |
43 |
- |
44 |
-(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t) |
45 |
- |
46 |
-(add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode)) |
47 |
-(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) |
48 |
- |
49 |
-(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t) |
50 |
-(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode") |
51 |
- |
52 |
-(add-hook 'ruby-mode-hook 'inf-ruby-keys) |
53 |
|
54 |
diff --git a/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch b/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch |
55 |
deleted file mode 100644 |
56 |
index 4d4bb2775c8..00000000000 |
57 |
--- a/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch |
58 |
+++ /dev/null |
59 |
@@ -1,22 +0,0 @@ |
60 |
-commit 595825dc577616862b271ffac4c58eb27f0610af |
61 |
-Author: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> |
62 |
-Date: Sun Apr 21 10:04:54 2013 +0000 |
63 |
- |
64 |
- Replace use of obsolete variable `last-command-char` by @maser [fix GH-290] |
65 |
- |
66 |
- |
67 |
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
68 |
- |
69 |
-diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el |
70 |
-index dcaa396..ace0f27 100644 |
71 |
---- a/misc/ruby-mode.el |
72 |
-+++ b/misc/ruby-mode.el |
73 |
-@@ -874,7 +874,7 @@ Also ignores spaces after parenthesis when 'space." |
74 |
- |
75 |
- (defun ruby-electric-brace (arg) |
76 |
- (interactive "P") |
77 |
-- (insert-char last-command-char 1) |
78 |
-+ (insert-char last-command-event 1) |
79 |
- (ruby-indent-line t) |
80 |
- (delete-char -1) |
81 |
- (self-insert-command (prefix-numeric-value arg))) |