summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMarkus Rost <rost@math.uni-bielefeld.de>2003-01-20 05:45:05 +0000
committerMarkus Rost <rost@math.uni-bielefeld.de>2003-01-20 05:45:05 +0000
commit73916123125e28d1aea4427a8caa04ca0a65741b (patch)
tree48abfdf369400908bf5b14e44d73eeeeaea0086c /lisp
parentcd8907963a3c626137711f88b3c34d1b198c0411 (diff)
downloademacs-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')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/ls-lisp.el5
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 221111ba33d..914109a1b8b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-20 Markus Rost <rost@math.ohio-state.edu>
+
+ * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
+ value system dependent.
+ (ls-lisp-support-shell-wildcards): Add autoload cookie.
+
2003-01-19 Kim F. Storm <storm@cua.dk>
* msb.el: Use `dir' instead of `path' everywhere.
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)."