From 5852d901b5dc8c128a53285297f094f925f29c1b Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 1 Dec 2012 08:13:04 +0000 Subject: [PATCH] inf-ruby.el: fix compilation-shell-minor-mode * misc/inf-ruby.el (inferior-ruby-mode): fix the compilation-shell-minor-mode configuration. a patch by j2petkov (Jean-Christophe Petkovich) in [ruby-core:46518]. [Bug #6742] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ misc/inf-ruby.el | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eb5db22992..b424092c9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Dec 1 17:12:55 2012 Nobuyoshi Nakada + + * misc/inf-ruby.el (inferior-ruby-mode): fix the + compilation-shell-minor-mode configuration. a patch by + j2petkov (Jean-Christophe Petkovich) in [ruby-core:46518]. + [Bug #6742] + Sat Dec 1 15:05:30 2012 Nobuyoshi Nakada * dir.c (glob_helper): use NAMLEN() to tell the length of d_name diff --git a/misc/inf-ruby.el b/misc/inf-ruby.el index c27fb635de..ea03eee23d 100644 --- a/misc/inf-ruby.el +++ b/misc/inf-ruby.el @@ -220,9 +220,9 @@ to continue it." (use-local-map inferior-ruby-mode-map) (setq comint-input-filter (function ruby-input-filter)) (setq comint-get-old-input (function ruby-get-old-input)) - (compilation-shell-minor-mode t) (make-local-variable 'compilation-error-regexp-alist) (setq compilation-error-regexp-alist inferior-ruby-error-regexp-alist) + (compilation-shell-minor-mode t) (run-hooks 'inferior-ruby-mode-hook)) (defvar inferior-ruby-filter-regexp "\\`\\s *\\S ?\\S ?\\s *\\'"