aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader1996-07-04 05:45:38 +0000
committerMiles Bader1996-07-04 05:45:38 +0000
commit51a2264fb51c2d07fc0058edf6cba5202df64ed6 (patch)
tree13aa7392f18d309d8daac3b77a96bf206db20491
parent52a2a9c397fb9cc8bb398f48c79221bc94885141 (diff)
downloademacs-51a2264fb51c2d07fc0058edf6cba5202df64ed6.tar.gz
emacs-51a2264fb51c2d07fc0058edf6cba5202df64ed6.zip
(insert-directory): When converting SWITCHES string to a list, put back
in original order.
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
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'."
2661 (setq list (cons (substring switches 0 (match-beginning 0)) 2661 (setq list (cons (substring switches 0 (match-beginning 0))
2662 list) 2662 list)
2663 switches (substring switches (match-end 0)))) 2663 switches (substring switches (match-end 0))))
2664 (setq list (cons switches list))))) 2664 (setq list (cons (nreverse switches) list)))))
2665 (append list 2665 (append list
2666 (list 2666 (list
2667 (if full-directory-p 2667 (if full-directory-p