emacs-diffs
[Top][All Lists]
Advanced

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

emacs-30 4f2a21cc2a3 2/2: Don't restrict 'lua-ts-send-file' to 'lua-ts-m


From: Eli Zaretskii
Subject: emacs-30 4f2a21cc2a3 2/2: Don't restrict 'lua-ts-send-file' to 'lua-ts-mode'
Date: Sat, 7 Dec 2024 08:28:52 -0500 (EST)

branch: emacs-30
commit 4f2a21cc2a369341b91bb3657e851bdc75e5e053
Author: john muhl <jm@pub.pink>
Commit: Eli Zaretskii <eliz@gnu.org>

    Don't restrict 'lua-ts-send-file' to 'lua-ts-mode'
    
    * lisp/progmodes/lua-ts-mode.el (lua-ts-send-file): Remove
    restriction on interactive use.  Unlike related send-* commands
    it can be useful to send a file to the Lua interpreter outside of
    a 'lua-ts-mode' buffer.  (Bug#74705)
---
 lisp/progmodes/lua-ts-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el
index d2ac67a9230..9d06517a97d 100644
--- a/lisp/progmodes/lua-ts-mode.el
+++ b/lisp/progmodes/lua-ts-mode.el
@@ -694,7 +694,7 @@ Calls REPORT-FN directly."
 
 (defun lua-ts-send-file (file)
   "Send contents of FILE to the inferior Lua process."
-  (interactive "f" lua-ts-mode)
+  (interactive "f")
   (with-temp-buffer
     (insert-file-contents-literally file)
     (lua-ts-send-region (point-min) (point-max))))



reply via email to

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