]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert 2007-04-06 change.
authorRomain Francoise <romain@orebokech.com>
Tue, 1 May 2007 09:33:51 +0000 (09:33 +0000)
committerRomain Francoise <romain@orebokech.com>
Tue, 1 May 2007 09:33:51 +0000 (09:33 +0000)
lisp/ChangeLog
lisp/dired-x.el

index 29436b53eb35b711ccae8017e0d1b45f53b1edb1..4d8f0d81ebfe57c15451340fea2039331ac21802 100644 (file)
@@ -1,3 +1,7 @@
+2007-05-01  Romain Francoise  <romain@orebokech.com>
+
+       * dired-x.el: Revert 2007-04-06 change.
+
 2007-04-30  Nick Roberts  <nickrob@snap.net.nz>
 
        * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
index eecb1dbb7090059fe1537411c0a8cb12789aa1a6..75b6456a5cfa5ff92a97f85788169f8585a1af9f 100644 (file)
 ;; (add-hook 'dired-load-hook
 ;;           (function (lambda ()
 ;;                       (load "dired-x")
-;;                       ;; Set variables here.  For example:
+;;                       ;; Set global 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)
 ;;                       )))
 ;;
@@ -1123,11 +1127,17 @@ You can set this variable in your ~/.emacs.  For example, to add rules for
   :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 t)
+  (let* ((case-fold-search dired-guess-shell-case-fold-search)
          ;; Prepend the user's alist to the default alist.
          (alist (append dired-guess-shell-alist-user
                         dired-guess-shell-alist-default))