master cb22cfe1414: ; Fix last change to 'dired-insert-subdir'

Stephen Berman via Mailing list for Emacs changes <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit cb22cfe1414bc3aa5a0e0b54f41f5b3453cb1f01
Author: Stephen Berman <[email protected]>
Commit: Stephen Berman <[email protected]>

    ; Fix last change to 'dired-insert-subdir'
    
    * lisp/dired-aux.el (dired-insert-subdir): Call
    `dired--check-use-ls-dired' instead of inlining the body of the
    removed function `dired--ls-accept-b-switch-p'.
---
 lisp/dired-aux.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index b6ee35ff39b..5d13c09cb98 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -3409,8 +3409,7 @@ and the related messages for details."))
                 (dired-switches-escape-p dired-listing-switches)
                 (dired-switches-escape-p dired-actual-switches))
       (when (and (dired--filename-with-newline-p)
-                 (eq 0 (call-process insert-directory-program
-                                     nil nil nil "-b")))
+                 (dired--check-use-ls-dired))
         (dired--display-filename-with-newline-warning (current-buffer))))
     (dired-initial-position dirname)
     (save-excursion (dired-mark-remembered mark-alist))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.