summaryrefslogtreecommitdiff
path: root/misc/inf-ruby.el
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 08:13:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 08:13:04 +0000
commit5852d901b5dc8c128a53285297f094f925f29c1b (patch)
treea65b81203db4f8a6cff95a65c919e67dd653d05f /misc/inf-ruby.el
parent214938f1033713adcef145758a8128748ab63e4d (diff)
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
Diffstat (limited to 'misc/inf-ruby.el')
-rw-r--r--misc/inf-ruby.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/inf-ruby.el b/misc/inf-ruby.el
index c27fb63..ea03eee 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 *\\'"