diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2006-03-08 07:34:24 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2006-03-08 07:34:24 +0000 |
commit | 8f673e91337dcb6dfbada417e4b7bdd77eedb16a (patch) | |
tree | 2c1604bd4dd79988f0819fdc183889a6e2b231a6 /app-emacs/ruby-mode | |
parent | Stable on ppc64; bug #123038 (diff) | |
download | gentoo-2-8f673e91337dcb6dfbada417e4b7bdd77eedb16a.tar.gz gentoo-2-8f673e91337dcb6dfbada417e4b7bdd77eedb16a.tar.bz2 gentoo-2-8f673e91337dcb6dfbada417e4b7bdd77eedb16a.zip |
Added inferior mode autoloads and add-to-list improvements for site-lisp configuration.
(Portage version: 2.1_pre5-r1)
Diffstat (limited to 'app-emacs/ruby-mode')
-rw-r--r-- | app-emacs/ruby-mode/ChangeLog | 7 | ||||
-rw-r--r-- | app-emacs/ruby-mode/Manifest | 16 | ||||
-rw-r--r-- | app-emacs/ruby-mode/files/50ruby-mode-gentoo.el | 15 |
3 files changed, 18 insertions, 20 deletions
diff --git a/app-emacs/ruby-mode/ChangeLog b/app-emacs/ruby-mode/ChangeLog index 171d1df9d2c8..79b27e3fa5e4 100644 --- a/app-emacs/ruby-mode/ChangeLog +++ b/app-emacs/ruby-mode/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emacs/ruby-mode # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ruby-mode/ChangeLog,v 1.15 2006/03/05 18:00:51 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ruby-mode/ChangeLog,v 1.16 2006/03/08 07:34:24 mkennedy Exp $ + + 08 Mar 2006; Matthew Kennedy <mkennedy@gentoo.org> + files/50ruby-mode-gentoo.el: + Added inferior mode autoloads and add-to-list improvements for site-lisp + configuration. *ruby-mode-1.8.4 (05 Mar 2006) diff --git a/app-emacs/ruby-mode/Manifest b/app-emacs/ruby-mode/Manifest index 96655db4e81c..3a59821ae83c 100644 --- a/app-emacs/ruby-mode/Manifest +++ b/app-emacs/ruby-mode/Manifest @@ -1,12 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 c81bd6a20558ef85c23e58eccd09376e ChangeLog 1898 RMD160 3a685200313a38906f954bbdb401eecc2b8431a9 ChangeLog 1898 SHA256 fc0725ea5c7c0aa8201aac7573051b11596b14c8c49ebcd6fa057d399ce4b92a ChangeLog 1898 -MD5 ba5dc2b54a015b5eb2cff20ce1a39aa6 files/50ruby-mode-gentoo.el 322 -RMD160 dddfde2cf8d0eee0659106cb62785d15d3eab9dc files/50ruby-mode-gentoo.el 322 -SHA256 d683ac610fe698ba642a42167e552e3690d7505c2ed74a7b8476538b466eaefe files/50ruby-mode-gentoo.el 322 +MD5 61fdba2da38844842ad6701663329708 files/50ruby-mode-gentoo.el 460 +RMD160 949e183f7144d1eeff7ef62bc6ad9818f65ece20 files/50ruby-mode-gentoo.el 460 +SHA256 b32e5034ca28064758fb273f557e2fd5a08fb6f9099126eabf24a942d60ea28b files/50ruby-mode-gentoo.el 460 MD5 e1c6eac35da8ce7f11bab66795de0b80 files/digest-ruby-mode-1.8.0 63 RMD160 908b22b70efb5becac588d1bfca72850ec4c369f files/digest-ruby-mode-1.8.0 63 SHA256 877f8b8670ce26b0804ca7b6f766160cef735d1ea0927c83a2b3bee1e4c091bb files/digest-ruby-mode-1.8.0 63 @@ -34,10 +31,3 @@ SHA256 9e77a88b894feab37bf3c0f8f53db683164905d5bc7db95bd491aeedc30a38ab ruby-mod MD5 3f5f11a129a938fc9d79fbc7cc9b425b ruby-mode-1.8.4.ebuild 690 RMD160 bfe39e045a87b7e8e1fc9ba0ebdbd67f756a071d ruby-mode-1.8.4.ebuild 690 SHA256 e77b7f164f403d711c728f6d03bdeb1c8c143fb4ed18e22027e79f8a3bd816ef ruby-mode-1.8.4.ebuild 690 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFECydgyiNZaEAZA+ARAilDAJ9L4DdiegMf2tTfgE4jnBvfG+TzBQCcCADX -70MCzX0gJOHfUeLEoRbZLSA= -=xshZ ------END PGP SIGNATURE----- diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el index ba025dcf9390..b5053e914f8f 100644 --- a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el +++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el @@ -1,11 +1,14 @@ -;;; Ruby-mode site-lisp configuration +;;; ruby-mode site-lisp configuration -(setq load-path (cons "@SITELISP@" load-path)) +(add-to-list 'load-path "@SITELISP@") (autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t) -(setq auto-mode-alist - (append '(("\\.rb$" . ruby-mode)) auto-mode-alist)) -(setq interpreter-mode-alist - (append '(("ruby" . ruby-mode)) interpreter-mode-alist)) +(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) |