aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired-x.el6
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 89a6cab3eef..ad40c0e1123 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12003-03-07 Kevin Rodgers <kevin.rodgers@ihs.com>
2
3 * dired-x.el (dired-guess-shell-case-fold-search): New user option.
4 (dired-guess-default): Use it.
5
12003-03-07 Thien-Thi Nguyen <ttn@gnu.org> 62003-03-07 Thien-Thi Nguyen <ttn@gnu.org>
2 7
3 * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var. 8 * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index ddd0a289eeb..5c6df8f87eb 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -998,11 +998,15 @@ You can set this variable in your ~/.emacs. For example, to add rules for
998 :group 'dired-x 998 :group 'dired-x
999 :type '(alist :key-type regexp :value-type (repeat sexp))) 999 :type '(alist :key-type regexp :value-type (repeat sexp)))
1000 1000
1001(defvar dired-guess-shell-case-fold-search nil
1002 "*If non-nil, `dired-guess-shell-alist-default' and
1003`dired-guess-shell-alist-user' are matched case-insensitively.")
1004
1001(defun dired-guess-default (files) 1005(defun dired-guess-default (files)
1002 "Guess a shell commands for FILES. Return command or list of commands. 1006 "Guess a shell commands for FILES. Return command or list of commands.
1003See `dired-guess-shell-alist-user'." 1007See `dired-guess-shell-alist-user'."
1004 1008
1005 (let* ((case-fold-search nil) ; case-sensitive matching 1009 (let* ((case-fold-search dired-guess-shell-case-fold-search)
1006 ;; Prepend the user's alist to the default alist. 1010 ;; Prepend the user's alist to the default alist.
1007 (alist (append dired-guess-shell-alist-user 1011 (alist (append dired-guess-shell-alist-user
1008 dired-guess-shell-alist-default)) 1012 dired-guess-shell-alist-default))