summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-08-10 15:30:56 +0000
committerJohn Wiegley <johnw@newartisans.com>2006-08-10 15:30:56 +0000
commitf80c9382efe996857f34ddd36ddfc7513dc08eb0 (patch)
treeced3ec356ec58d3f5019c3ee6a74cc767a6b32fc /lisp
parent87c9ab0c7a97880e3303ad67692b3c627561bb1e (diff)
downloademacs-f80c9382efe996857f34ddd36ddfc7513dc08eb0.tar.gz
(eshell-glob-chars-list) (eshell-glob-translate-alist): Add support
for [^g] in character globs.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/eshell/em-glob.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el
index 76bde7784dc..c700d5d7f6e 100644
--- a/lisp/eshell/em-glob.el
+++ b/lisp/eshell/em-glob.el
@@ -97,7 +97,7 @@ This option slows down recursive glob processing by quite a bit."
:type 'boolean
:group 'eshell-glob)
-(defcustom eshell-glob-chars-list '(?\] ?\[ ?* ?? ?~ ?\( ?\) ?| ?#)
+(defcustom eshell-glob-chars-list '(?\] ?\[ ?* ?? ?~ ?\( ?\) ?| ?# ?^)
"*List of additional characters used in extended globbing."
:type '(repeat character)
:group 'eshell-glob)
@@ -105,6 +105,7 @@ This option slows down recursive glob processing by quite a bit."
(defcustom eshell-glob-translate-alist
'((?\] . "]")
(?\[ . "[")
+ (?^ . "^")
(?? . ".")
(?* . ".*")
(?~ . "~")