diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | misc/inf-ruby.el | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Sat Dec 1 17:12:55 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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 <nobu@ruby-lang.org> * 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 *\\'" |