Project

General

Profile

Bug #6742 ยป inf-ruby.patch

Patch to fix the compilation-shell-minor-mode configuration - j2petkov (Jean-Christophe Petkovich), 07/17/2012 02:48 AM

View differences:

misc/inf-ruby-fixed.el 2012-07-16 13:42:59.342788868 -0400
(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 *\\'"
    (1-1/1)