changeset 76976:d89bf6db73a1

(dired-guess-shell-case-fold-search): Delete var. (dired-guess-default): Respect case.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 06 Apr 2007 18:31:05 +0000
parents 516f142e7353
children 988e52fbb508
files lisp/dired-x.el
diffstat 1 files changed, 2 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-x.el	Fri Apr 06 18:30:41 2007 +0000
+++ b/lisp/dired-x.el	Fri Apr 06 18:31:05 2007 +0000
@@ -45,12 +45,8 @@
 ;; (add-hook 'dired-load-hook
 ;;           (function (lambda ()
 ;;                       (load "dired-x")
-;;                       ;; Set global variables here.  For example:
+;;                       ;; Set variables here.  For example:
 ;;                       ;; (setq dired-guess-shell-gnutar "gtar")
-;;                       )))
-;; (add-hook 'dired-mode-hook
-;;           (function (lambda ()
-;;                       ;; Set buffer-local variables here.  For example:
 ;;                       ;; (dired-omit-mode 1)
 ;;                       )))
 ;;
@@ -1130,17 +1126,11 @@
   :group 'dired-x
   :type '(alist :key-type regexp :value-type (repeat sexp)))
 
-(defcustom dired-guess-shell-case-fold-search t
-  "If non-nil, `dired-guess-shell-alist-default' and
-`dired-guess-shell-alist-user' are matched case-insensitively."
-  :group 'dired-x
-  :type 'boolean)
-
 (defun dired-guess-default (files)
   "Guess a shell commands for FILES.  Return command or list of commands.
 See `dired-guess-shell-alist-user'."
 
-  (let* ((case-fold-search dired-guess-shell-case-fold-search)
+  (let* ((case-fold-search t)
          ;; Prepend the user's alist to the default alist.
          (alist (append dired-guess-shell-alist-user
                         dired-guess-shell-alist-default))