summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-12 09:26:48 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-12 09:26:48 +0200
commit3e55936c7a96b9d995343734c37c5248ace9feda (patch)
tree4dac79bf8a3e75fbefa67456afb9b37fef13075c /lisp/dired-x.el
parentb492f37d5622fd5b609d545d8489d8cc80566ee1 (diff)
downloademacs-3e55936c7a96b9d995343734c37c5248ace9feda.tar.gz
Remove `remove-duplicates', since `delete-dups' is sufficient.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index a341e4f07a1..0f2cfd4973f 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -1103,7 +1103,7 @@ See `dired-guess-shell-alist-user'."
;; Return commands or nil if flist is still non-nil.
;; Evaluate the commands in order that any logical testing will be done.
(if (cdr cmds)
- (remove-duplicates (mapcar #'eval cmds))
+ (delete-dups (mapcar #'eval cmds))
(eval (car cmds))))) ; single command
(defun dired-guess-shell-command (prompt files)