summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-script.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2013-06-02 11:19:09 +0200
committerTassilo Horn <tsdh@gnu.org>2013-06-02 11:19:09 +0200
commitd105b0e26f965b41452153ad405efe98ff142de6 (patch)
treebf98e74bdf26d4be65559abee240ced7b8633b86 /lisp/eshell/em-script.el
parent8a621d5317e94977bb3e5e5ab2800b810d0297ee (diff)
downloademacs-d105b0e26f965b41452153ad405efe98ff142de6.tar.gz
* eshell/esh-ext.el (eshell-external-command): Pass args to
`eshell-find-interpreter'. (eshell-find-interpreter): Add new second parameter ARGS. * eshell/em-script.el (eshell-script-initialize): Add second arg to the function added as MATCH to `eshell-interpreter-alist' * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to the function added as MATCH to `eshell-interpreter-alist' * eshell/em-term.el (eshell-visual-subcommands): New defcustom. (eshell-visual-options): New defcustom. (eshell-escape-control-x): Adapt docstring. (eshell-term-initialize): Test `eshell-visual-subcommands' and `eshell-visual-options' in addition to `eshell-visual-commands'. (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
Diffstat (limited to 'lisp/eshell/em-script.el')
-rw-r--r--lisp/eshell/em-script.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el
index 711b2e21468..13ae6941dde 100644
--- a/lisp/eshell/em-script.el
+++ b/lisp/eshell/em-script.el
@@ -61,7 +61,7 @@ This includes when running `eshell-command'."
"Initialize the script parsing code."
(make-local-variable 'eshell-interpreter-alist)
(setq eshell-interpreter-alist
- (cons '((lambda (file)
+ (cons '((lambda (file args)
(string= (file-name-nondirectory file)
"eshell")) . eshell/source)
eshell-interpreter-alist))