aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/em-script.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-26 14:13:56 +0200
committerLars Ingebrigtsen2019-07-26 14:13:56 +0200
commit9436391e1b7453fb0e950e22ab523703aa8af307 (patch)
treef73328797bd3ae7e07645ee1184645388b927945 /lisp/eshell/em-script.el
parent2d969315e41ded5771a3046ed010e73be2591127 (diff)
downloademacs-9436391e1b7453fb0e950e22ab523703aa8af307.tar.gz
emacs-9436391e1b7453fb0e950e22ab523703aa8af307.zip
Remove interactive spec from eshell-source-file
* lisp/eshell/em-script.el (eshell-source-file): This function can't work as an interactive command, so remove the interactive spec (bug#26057).
Diffstat (limited to 'lisp/eshell/em-script.el')
-rw-r--r--lisp/eshell/em-script.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el
index 4a3b84e10e3..6970dfc80bd 100644
--- a/lisp/eshell/em-script.el
+++ b/lisp/eshell/em-script.el
@@ -90,7 +90,6 @@ This includes when running `eshell-command'."
90(defun eshell-source-file (file &optional args subcommand-p) 90(defun eshell-source-file (file &optional args subcommand-p)
91 "Execute a series of Eshell commands in FILE, passing ARGS. 91 "Execute a series of Eshell commands in FILE, passing ARGS.
92Comments begin with `#'." 92Comments begin with `#'."
93 (interactive "f")
94 (let ((orig (point)) 93 (let ((orig (point))
95 (here (point-max)) 94 (here (point-max))
96 (inhibit-point-motion-hooks t)) 95 (inhibit-point-motion-hooks t))