(eshell-parse-command "ls" (cdr args))))
nil))))
+(put 'eshell/cd 'eshell-no-numeric-conversions t)
+
(defun eshell-add-to-dir-ring (path)
"Add PATH to the last-dir-ring, if applicable."
(unless (and (not (ring-empty-p eshell-last-dir-ring))
(eshell/dirs t)))))
nil)
+(put 'eshell/pushd 'eshell-no-numeric-conversions t)
+
;;; popd [+n]
(defun eshell/popd (&rest args)
"Implementation of popd in Lisp."
(error "Couldn't popd"))))
nil)
+(put 'eshell/popd 'eshell-no-numeric-conversions t)
+
(defun eshell/dirs (&optional if-verbose)
"Implementation of dirs in Lisp."
(when (or (not if-verbose) eshell-dirtrack-verbose)
"Invoke man, flattening the arguments appropriately."
(funcall 'man (apply 'eshell-flatten-and-stringify args)))
+(put 'eshell/man 'eshell-no-numeric-conversions t)
+
(defun eshell-remove-entries (path files &optional top-level)
"From PATH, remove all of the given FILES, perhaps interactively."
(while files
(setq args (cdr args)))
nil))
+(put 'eshell/rm 'eshell-no-numeric-conversions t)
+
(defun eshell/mkdir (&rest args)
"Implementation of mkdir in Lisp."
(eshell-eval-using-options
(setq args (cdr args)))
nil))
+(put 'eshell/mkdir 'eshell-no-numeric-conversions t)
+
(defun eshell/rmdir (&rest args)
"Implementation of rmdir in Lisp."
(eshell-eval-using-options
(setq args (cdr args)))
nil))
+(put 'eshell/rmdir 'eshell-no-numeric-conversions t)
+
(eval-when-compile
(defvar no-dereference)
(defvar preview)
eshell-mv-interactive-query
eshell-mv-overwrite-files))))
+(put 'eshell/mv 'eshell-no-numeric-conversions t)
+
(defun eshell/cp (&rest args)
"Implementation of cp in Lisp."
(eshell-eval-using-options
eshell-cp-interactive-query
eshell-cp-overwrite-files preserve)))
+(put 'eshell/cp 'eshell-no-numeric-conversions t)
+
(defun eshell/ln (&rest args)
"Implementation of ln in Lisp."
(eshell-eval-using-options
eshell-ln-interactive-query
eshell-ln-overwrite-files))))
+(put 'eshell/ln 'eshell-no-numeric-conversions t)
+
(defun eshell/cat (&rest args)
"Implementation of cat in Lisp.
If in a pipeline, or the file is not a regular file, directory or
;; if the file does not end in a newline, do not emit one
(setq eshell-ensure-newline-p nil))))
+(put 'eshell/cat 'eshell-no-numeric-conversions t)
+
;; special front-end functions for compilation-mode buffers
(defun eshell/make (&rest args)
(eshell-parse-command "*make" (eshell-stringify-list
(eshell-flatten-list args))))))
+(put 'eshell/make 'eshell-no-numeric-conversions t)
+
(defun eshell-occur-mode-goto-occurrence ()
"Go to the occurrence the current line describes."
(interactive)
(pop-to-buffer (current-buffer))))))
nil)
+(put 'eshell/diff 'eshell-no-numeric-conversions t)
+
(defun eshell/locate (&rest args)
"Alias \"locate\" to call Emacs `locate' function."
(if (or eshell-plain-locate-behavior
(let ((locate-history-list (list (car args))))
(locate-with-filter (car args) (cadr args))))))
+(put 'eshell/locate 'eshell-no-numeric-conversions t)
+
(defun eshell/occur (&rest args)
"Alias \"occur\" to call Emacs `occur' function."
(let ((inhibit-read-only t))
(error "usage: occur: (REGEXP &optional NLINES)")
(apply 'occur args))))
+(put 'eshell/occur 'eshell-no-numeric-conversions t)
+
;;; Code:
;;; em-unix.el ends here