Mercurial > emacs
changeset 49328:850f7b918635
(ls-lisp-use-insert-directory-program): Make default
value system dependent.
(ls-lisp-support-shell-wildcards): Add autoload cookie.
author | Markus Rost <rost@math.uni-bielefeld.de> |
---|---|
date | Mon, 20 Jan 2003 05:44:47 +0000 |
parents | b69102c57df8 |
children | 6b6ea3873587 |
files | lisp/ls-lisp.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ls-lisp.el Mon Jan 20 05:35:31 2003 +0000 +++ b/lisp/ls-lisp.el Mon Jan 20 05:44:47 2003 +0000 @@ -129,7 +129,8 @@ (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 @@ :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)."