public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ruby-mode/files/
@ 2018-08-04  5:57 Hans de Graaff
  0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2018-08-04  5:57 UTC (permalink / raw
  To: gentoo-commits

commit:     c24cc9ba991f4c5dd5574adf3a5da29df1446dc8
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  4 05:55:25 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Aug  4 05:55:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24cc9ba

app-emacs/ruby-mode: cleanup

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../ruby-mode/files/50ruby-mode-gentoo-2.2.2.el    | 12 ------------
 app-emacs/ruby-mode/files/50ruby-mode-gentoo.el    | 11 -----------
 .../ruby-mode-1.9.3_p429-last-command-char.patch   | 22 ----------------------
 3 files changed, 45 deletions(-)

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
deleted file mode 100644
index 691abdfdaf9..00000000000
--- a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el
+++ /dev/null
@@ -1,12 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-
-(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
-
-(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
-(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
-(add-to-list 'interpreter-mode-alist  '("ruby" . ruby-mode))
-
-(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
-(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
-
-(add-hook 'ruby-mode-hook 'inf-ruby-keys)

diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
deleted file mode 100644
index c1f9602d19d..00000000000
--- a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
+++ /dev/null
@@ -1,11 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-
-(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
-
-(add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode))
-(add-to-list 'interpreter-mode-alist  '("ruby" . ruby-mode))
-
-(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
-(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
-
-(add-hook 'ruby-mode-hook 'inf-ruby-keys)

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
deleted file mode 100644
index 4d4bb2775c8..00000000000
--- a/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 595825dc577616862b271ffac4c58eb27f0610af
-Author: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
-Date:   Sun Apr 21 10:04:54 2013 +0000
-
-    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
-
-diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
-index dcaa396..ace0f27 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)))


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-04  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-04  5:57 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ruby-mode/files/ Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox