Created
November 1, 2009 00:10
-
-
Save sshirokov/223324 to your computer and use it in GitHub Desktop.
Rinari uses inf- rather than inferior-ruby-
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defadvice rinari-console (after rinari-console-prompt-fix first (&rest ignore) activate) | |
| "Change the prompt" | |
| (let ((pattern "^>> ") | |
| (inferior-ruby-first-prompt-pattern nil) | |
| (inferior-ruby-prompt-pattern nil)) | |
| (with-current-buffer "*ruby*" | |
| (set (make-local-variable 'inferior-ruby-first-prompt-pattern) pattern) | |
| (set (make-local-variable 'inferior-ruby-prompt-pattern) pattern)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment