]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix syntax error in last checkin.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jul 2011 13:36:54 +0000 (15:36 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 11 Jul 2011 13:36:54 +0000 (15:36 +0200)
lisp/dired-x.el

index 580217d3fbd65360da9c1d040367aae6db7e64e7..d6eff9f129ffb3e1f705ef70736dce8b092a9b77 100644 (file)
@@ -1103,10 +1103,9 @@ 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.
-    (remove-duplicates
-     (if (cdr cmds)
-        (mapcar #'eval cmds)
-       (eval (car cmds))))))           ; single command
+    (if (cdr cmds)
+       (remove-duplicates (mapcar #'eval cmds))
+      (eval (car cmds)))))             ; single command
 
 (defun dired-guess-shell-command (prompt files)
   "Ask user with PROMPT for a shell command, guessing a default from FILES."