emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby c2a28ef6a1 242/265: Replace toggle-read-only-mode


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby c2a28ef6a1 242/265: Replace toggle-read-only-mode with read-only-mode
Date: Sat, 9 Jul 2022 21:59:30 -0400 (EDT)

branch: elpa/inf-ruby
commit c2a28ef6a12b18e04537940ef0254b2f3ed9ec6b
Author: Javier Olaechea <pirata@gmail.com>
Commit: Javier Olaechea <pirata@gmail.com>

    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

[Prev in Thread] Current Thread [Next in Thread]