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 | 04d467740bb784bf79e6ceca5211c14efad341b8 (patch) | |
tree | 1f727a819e3bf29ffe69837a00560225ad5a5fdf /app-emacs/ruby-mode | |
parent | Stable on ppc64; bug #123038 (diff) | |
download | historical-04d467740bb784bf79e6ceca5211c14efad341b8.tar.gz historical-04d467740bb784bf79e6ceca5211c14efad341b8.tar.bz2 historical-04d467740bb784bf79e6ceca5211c14efad341b8.zip |
Added inferior mode autoloads and add-to-list improvements for site-lisp configuration.
Package-Manager: portage-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 | 18 | ||||
-rw-r--r-- | app-emacs/ruby-mode/files/50ruby-mode-gentoo.el | 15 |
3 files changed, 24 insertions, 16 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..054ac3ac8890 100644 --- a/app-emacs/ruby-mode/Manifest +++ b/app-emacs/ruby-mode/Manifest @@ -1,12 +1,12 @@ -----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 cf7ba8bd634c7a39960235d57e73984c ChangeLog 2075 +RMD160 07a9e11b1ded824e3466241d0b9c05b892faacae ChangeLog 2075 +SHA256 652ae3dcee9221f1352fa28b809cec81959fc58d227b1d5bec6644ed8e78c62c ChangeLog 2075 +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 @@ -37,7 +37,7 @@ SHA256 e77b7f164f403d711c728f6d03bdeb1c8c143fb4ed18e22027e79f8a3bd816ef ruby-mod -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFECydgyiNZaEAZA+ARAilDAJ9L4DdiegMf2tTfgE4jnBvfG+TzBQCcCADX -70MCzX0gJOHfUeLEoRbZLSA= -=xshZ +iD8DBQFEDokMyiNZaEAZA+ARAuiuAJ47jlylAnn2fP8eAQDnT8UCej51QACZAUaJ +0rMqvGP04jT6ty/omPam2m0= +=iZxn -----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) |