diff options
| author | Markus Rost <rost@math.uni-bielefeld.de> | 2003-01-20 05:45:05 +0000 |
|---|---|---|
| committer | Markus Rost <rost@math.uni-bielefeld.de> | 2003-01-20 05:45:05 +0000 |
| commit | 73916123125e28d1aea4427a8caa04ca0a65741b (patch) | |
| tree | 48abfdf369400908bf5b14e44d73eeeeaea0086c /lisp/ls-lisp.el | |
| parent | cd8907963a3c626137711f88b3c34d1b198c0411 (diff) | |
| download | emacs-73916123125e28d1aea4427a8caa04ca0a65741b.tar.gz | |
(ls-lisp-use-insert-directory-program): Make default
value system dependent.
(ls-lisp-support-shell-wildcards): Add autoload cookie.
Diffstat (limited to 'lisp/ls-lisp.el')
| -rw-r--r-- | lisp/ls-lisp.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index 9f6de6753c6..1d0ace7613e 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -129,7 +129,8 @@ if emulation is GNU then default is `(links uid gid)'." (const :tag "Show Group" gid)) :group 'ls-lisp) -(defcustom ls-lisp-use-insert-directory-program nil +(defcustom ls-lisp-use-insert-directory-program + (not (memq system-type '(macos ms-dos windows-nt))) "*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 @@ -137,6 +138,8 @@ the contents of a directory." :type 'boolean :group 'ls-lisp) +;;; Autoloaded because it is let-bound in `recover-session', `mail-recover-1'. +;;;###autoload (defcustom ls-lisp-support-shell-wildcards t "*Non-nil means ls-lisp treats file patterns as shell wildcards. Otherwise they are treated as Emacs regexps (for backward compatibility)." |
