]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove interactive spec from eshell-source-file
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 26 Jul 2019 12:13:56 +0000 (14:13 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 26 Jul 2019 12:13:56 +0000 (14:13 +0200)
* lisp/eshell/em-script.el (eshell-source-file): This function
can't work as an interactive command, so remove the interactive
spec (bug#26057).

lisp/eshell/em-script.el

index 4a3b84e10e387c60cde3e2ff13695630e1c0b685..6970dfc80bdea082c6738c58e27a8c58ba76a2fc 100644 (file)
@@ -90,7 +90,6 @@ This includes when running `eshell-command'."
 (defun eshell-source-file (file &optional args subcommand-p)
   "Execute a series of Eshell commands in FILE, passing ARGS.
 Comments begin with `#'."
-  (interactive "f")
   (let ((orig (point))
        (here (point-max))
        (inhibit-point-motion-hooks t))