branch: elpa/inf-ruby
commit c2a28ef6a12b18e04537940ef0254b2f3ed9ec6b
Author: Javier Olaechea <[email protected]>
Commit: Javier Olaechea <[email protected]>

    Replace toggle-read-only-mode with read-only-mode
---
 inf-ruby.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index fb5c26b724..e7896e436f 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -11,6 +11,7 @@
 ;; Created: 8 April 1998
 ;; Keywords: languages ruby
 ;; Version: 2.5.2
+;; Package-Requires: ((emacs "24.3"))
 
 ;; This program is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -788,7 +789,7 @@ Otherwise, just toggle read-only status."
         (set (make-local-variable 'compilation-error-regexp-alist) errors)
         (when proc
           (set-process-filter proc filter)))
-    (toggle-read-only)))
+    (read-only-mode)))
 
 ;;;###autoload
 (defun inf-ruby-switch-setup ()

Reply via email to