Variable: ls-lisp-use-insert-directory-program

ls-lisp-use-insert-directory-program is a customizable variable defined in ls-lisp.el.gz.

Value

t

Documentation

Non-nil causes ls-lisp to revert back to using insert-directory-program.

This is useful on platforms where ls-lisp is dumped into Emacs, such as Microsoft Windows, but you would still like to use a program to list the contents of a directory.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/ls-lisp.el.gz
(defcustom ls-lisp-use-insert-directory-program
  (not (memq system-type '(ms-dos windows-nt android)))
  "Non-nil causes ls-lisp to revert back to using `insert-directory-program'.
This is useful on platforms where ls-lisp is dumped into Emacs, such as
Microsoft Windows, but you would still like to use a program to list
the contents of a directory."
  :type 'boolean
  :group 'ls-lisp)