diff options
| author | Pavel Janík | 2002-02-16 09:38:46 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-02-16 09:38:46 +0000 |
| commit | b79bb65a5a5a66df25188f1a340eed88c9fb725b (patch) | |
| tree | 7e71640c9b93f6061ec0b3bb853a4e039cd0b5e9 | |
| parent | 35a3b29715e0acd14e65dd5d50916064c97bc10f (diff) | |
| download | emacs-b79bb65a5a5a66df25188f1a340eed88c9fb725b.tar.gz emacs-b79bb65a5a5a66df25188f1a340eed88c9fb725b.zip | |
(eshell-glob-initialize): Do not use make-local-hook.
| -rw-r--r-- | lisp/eshell/em-glob.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el index 0e826756c57..9d5f8bc3adc 100644 --- a/lisp/eshell/em-glob.el +++ b/lisp/eshell/em-glob.el | |||
| @@ -132,9 +132,7 @@ This option slows down recursive glob processing by quite a bit." | |||
| 132 | (append eshell-glob-chars-list eshell-special-chars-outside-quoting)) | 132 | (append eshell-glob-chars-list eshell-special-chars-outside-quoting)) |
| 133 | (set (make-local-variable 'eshell-glob-chars-regexp) | 133 | (set (make-local-variable 'eshell-glob-chars-regexp) |
| 134 | (format "[%s]+" (apply 'string eshell-glob-chars-list))) | 134 | (format "[%s]+" (apply 'string eshell-glob-chars-list))) |
| 135 | (make-local-hook 'eshell-parse-argument-hook) | ||
| 136 | (add-hook 'eshell-parse-argument-hook 'eshell-parse-glob-chars t t) | 135 | (add-hook 'eshell-parse-argument-hook 'eshell-parse-glob-chars t t) |
| 137 | (make-local-hook 'eshell-pre-rewrite-command-hook) | ||
| 138 | (add-hook 'eshell-pre-rewrite-command-hook | 136 | (add-hook 'eshell-pre-rewrite-command-hook |
| 139 | 'eshell-no-command-globbing nil t)) | 137 | 'eshell-no-command-globbing nil t)) |
| 140 | 138 | ||