mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
214938f103
commit
5852d901b5
2 changed files with 8 additions and 1 deletions
|
@ -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 *\\'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue