summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-unix.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-18 19:42:36 -0700
committerGlenn Morris <rgm@gnu.org>2013-09-18 19:42:36 -0700
commit3261d4af3d61802556793bfbffd7cc5b73bdf023 (patch)
tree16976c4a70c30f3c39855d9d3c106578758ba1f3 /lisp/eshell/em-unix.el
parent8e51b5d087612619a37e4fbb767d1dad8488f110 (diff)
downloademacs-3261d4af3d61802556793bfbffd7cc5b73bdf023.tar.gz
* eshell/em-unix.el (eshell-remove-entries): Remove unused arg `path'.
Update callers.
Diffstat (limited to 'lisp/eshell/em-unix.el')
-rw-r--r--lisp/eshell/em-unix.el8
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))