From 51a2264fb51c2d07fc0058edf6cba5202df64ed6 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 4 Jul 1996 05:45:38 +0000 Subject: [PATCH] (insert-directory): When converting SWITCHES string to a list, put back in original order. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index fe1a7234d7a..a7414a787e3 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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 -- 2.39.2