]> git.eshelyaron.com Git - emacs.git/commitdiff
(ls-lisp-use-insert-directory-program): Make default
authorMarkus Rost <rost@math.uni-bielefeld.de>
Mon, 20 Jan 2003 05:45:05 +0000 (05:45 +0000)
committerMarkus Rost <rost@math.uni-bielefeld.de>
Mon, 20 Jan 2003 05:45:05 +0000 (05:45 +0000)
value system dependent.
(ls-lisp-support-shell-wildcards): Add autoload cookie.

lisp/ChangeLog
lisp/ls-lisp.el

index 221111ba33d554bf5952baeb7c3a29e177b5a1fe..914109a1b8bb37ac9f01f83e4365cdeba6602dfb 100644 (file)
@@ -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.
index 9f6de6753c668bc471c79bb89961c9767951cd61..1d0ace7613ea3e9841356c9ebe4ab97eecd5c88f 100644 (file)
@@ -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)."