Permalink
Browse files

rails-scripts.el (rails-script:run-interactive): setup a

	variable `ruby-buffer' for corect working with `inf-ruby'


git-svn-id: svn+ssh://rubyforge.org/var/svn/emacs-rails/trunk@212 cc5033d0-740f-0410-afc7-949910e492f2
  • Loading branch information...
1 parent 5cdc29d commit cc957370ce836edae6f8d8055df9c8e42a16faa4 dimaexe committed Aug 18, 2007
Showing with 9 additions and 2 deletions.
  1. +5 −0 ChangeLog
  2. +4 −2 rails-scripts.el
View
@@ -1,3 +1,8 @@
+2007-08-18 Dmitry Galinsky <dima.exe@gmail.com>
+
+ * rails-scripts.el (rails-script:run-interactive): setup a
+ variable `ruby-buffer' for corect working with `inf-ruby'
+
2007-08-17 Dmitry Galinsky <dima.exe@gmail.com>
* rails-ruby.el (hs-minor-mode-hook): created, placed in hs-setup-overlay initialization to fix a bug #13162
View
@@ -305,8 +305,10 @@ BUFFER-MAJOR-MODE and process-sentinel SENTINEL."
*rails-<project-name>-<name>*."
(rails-project:with-root
(root)
- (run-ruby-in-buffer (rails-core:file script)
- (format "rails-%s-%s" (rails-project:name) name))
+ (let ((buffer-name (format "rails-%s-%s" (rails-project:name) name)))
+ (run-ruby-in-buffer (rails-core:file script)
+ buffer-name)
+ (setq ruby-buffer buffer-name))
(rails-minor-mode t)))
(defun rails-script:console ()

0 comments on commit cc95737

Please sign in to comment.