diff options
author | Glenn Morris <rgm@gnu.org> | 2013-09-18 19:42:36 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-09-18 19:42:36 -0700 |
commit | 3261d4af3d61802556793bfbffd7cc5b73bdf023 (patch) | |
tree | 16976c4a70c30f3c39855d9d3c106578758ba1f3 /lisp/eshell | |
parent | 8e51b5d087612619a37e4fbb767d1dad8488f110 (diff) | |
download | emacs-3261d4af3d61802556793bfbffd7cc5b73bdf023.tar.gz |
* eshell/em-unix.el (eshell-remove-entries): Remove unused arg `path'.
Update callers.
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/em-unix.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index 1548d181855..c278532f349 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el @@ -195,8 +195,8 @@ Otherwise, Emacs will attempt to use rsh to invoke du on the remote machine." (Info-menu (car args)) (setq args (cdr args))))) -(defun eshell-remove-entries (path files &optional top-level) - "From PATH, remove all of the given FILES, perhaps interactively." +(defun eshell-remove-entries (files &optional top-level) + "Remove all of the given FILES, perhaps interactively." (while files (if (string-match "\\`\\.\\.?\\'" (file-name-nondirectory (car files))) @@ -296,9 +296,9 @@ Remove (unlink) the FILE(s).") (y-or-n-p (format "rm: descend into directory `%s'? " entry))) - (eshell-remove-entries nil (list entry) t)) + (eshell-remove-entries (list entry) t)) (eshell-error (format "rm: %s: is a directory\n" entry))) - (eshell-remove-entries nil (list entry) t)))))) + (eshell-remove-entries (list entry) t)))))) (setq args (cdr args))) nil)) |