-;;; em-script --- Eshell script files
+;;; em-script.el --- Eshell script files
;; Copyright (C) 1999, 2000 Free Software Foundation
(string= (file-name-nondirectory file)
"eshell")) . eshell/source)
eshell-interpreter-alist))
+ (make-local-variable 'eshell-complex-commands)
+ (setq eshell-complex-commands
+ (append '("source" ".") eshell-complex-commands))
;; these two variables are changed through usage, but we don't want
;; to ruin it for other modules
(let (eshell-inside-quote-regexp
$2, etc.")
(eshell-source-file (car args) (cdr args) t)))
+(put 'eshell/source 'eshell-no-numeric-conversions t)
+
(defun eshell/. (&rest args)
"Source a file in the current environment."
(eshell-eval-using-options
environment, binding ARGS to $1, $2, etc.")
(eshell-source-file (car args) (cdr args))))
+(put 'eshell/. 'eshell-no-numeric-conversions t)
+
;;; Code:
;;; em-script.el ends here