summaryrefslogtreecommitdiff
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
commita372959a63497002dbc73ef9d72b08588a193259 (patch)
treea8219e662d6dc8bae3ecb9fdf6bb7551acb15deb
parent13de6bfacb71adebffb13c71105bd45a669eaeab (diff)
downloademacs-a372959a63497002dbc73ef9d72b08588a193259.tar.gz
(eshell-glob-chars-list) (eshell-glob-translate-alist): Add support
for [^g] in character globs.
-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
'((?\] . "]")
(?\[ . "[")
+ (?^ . "^")
(?? . ".")
(?* . ".*")
(?~ . "~")