summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-ext.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2001-05-10 03:47:24 +0000
committerJohn Wiegley <johnw@newartisans.com>2001-05-10 03:47:24 +0000
commit127fd3c222486a6349564cb23c21db95f6d3da11 (patch)
treeef93b1ea61b6f82553f98174684d7af2d34c3a3e /lisp/eshell/esh-ext.el
parentc26f6b27452cd3cd6328e0152feac65f5edfb49e (diff)
downloademacs-127fd3c222486a6349564cb23c21db95f6d3da11.tar.gz
emacs-127fd3c222486a6349564cb23c21db95f6d3da11.tar.bz2
emacs-127fd3c222486a6349564cb23c21db95f6d3da11.zip
Set the property `eshell-no-numeric-conversions' on the following
functions (which all deal with filesystem entities, and never Lisp numerical values): eshell/cd, eshell/pushd, eshell/popd, eshell/ls, eshell/source, eshell/., eshell/man, eshell/rm, eshell/mkdir, eshell/rmdir, eshell/mv, eshell/cp, eshell/ln, eshell/cat, eshell/make, eshell/diff, eshell/locate, eshell/occur, eshell/which, eshell/addpath.
Diffstat (limited to 'lisp/eshell/esh-ext.el')
-rw-r--r--lisp/eshell/esh-ext.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el
index 05825d4cc3c..25abb687a12 100644
--- a/lisp/eshell/esh-ext.el
+++ b/lisp/eshell/esh-ext.el
@@ -239,6 +239,8 @@ Adds the given PATH to $PATH.")
(eshell-printn (car paths))
(setq paths (cdr paths)))))))
+(put 'eshell/addpath 'eshell-no-numeric-conversions t)
+
(defun eshell-script-interpreter (file)
"Extract the script to run from FILE, if it has #!<interp> in it.
Return nil, or a list of the form: