]> git.eshelyaron.com Git - emacs.git/commitdiff
(insert-directory): When converting SWITCHES string to a list, put back
authorMiles Bader <miles@gnu.org>
Thu, 4 Jul 1996 05:45:38 +0000 (05:45 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 4 Jul 1996 05:45:38 +0000 (05:45 +0000)
in original order.

lisp/files.el

index fe1a7234d7ae41c0f9866df901ce8c430b8a0d67..a7414a787e3b9428f5008a5136698f4ca129534b 100644 (file)
@@ -2661,7 +2661,7 @@ If WILDCARD, it also runs the shell specified by `shell-file-name'."
                             (setq list (cons (substring switches 0 (match-beginning 0))
                                              list)
                                   switches (substring switches (match-end 0))))
-                          (setq list (cons switches list)))))
+                          (setq list (cons (nreverse switches) list)))))
                   (append list
                           (list
                            (if full-directory-p