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
commit296ba3ee9f7f8d1b9ba0c8dbf0cd8127fd02e9f0 (patch)
treeb0ccdefc46ce63d7b2eb6177d53b62a85bed158e /lisp/dired-x.el
parent71e0ea1358607ad22ee8759345fd023553331f44 (diff)
downloademacs-296ba3ee9f7f8d1b9ba0c8dbf0cd8127fd02e9f0.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)