diff options
| author | Pavel Janík | 2002-02-16 09:44:00 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-02-16 09:44:00 +0000 |
| commit | fd40c8e3bf1dad71eab871d43c72e72f45642120 (patch) | |
| tree | f5535ab7b2c13bce0139c2ae089d8ab334e9f2d6 | |
| parent | d4f72c6af8d181c3555552eeb22255d5cc1417e4 (diff) | |
| download | emacs-fd40c8e3bf1dad71eab871d43c72e72f45642120.tar.gz emacs-fd40c8e3bf1dad71eab871d43c72e72f45642120.zip | |
(eshell-var-initialize): Do not use make-local-hook.
| -rw-r--r-- | lisp/eshell/esh-var.el | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el index 9caa40ff6db..c24ee7d2ecf 100644 --- a/lisp/eshell/esh-var.el +++ b/lisp/eshell/esh-var.el | |||
| @@ -208,15 +208,12 @@ function), and the arguments passed to this function would be the list | |||
| 208 | (set (make-local-variable 'eshell-special-chars-outside-quoting) | 208 | (set (make-local-variable 'eshell-special-chars-outside-quoting) |
| 209 | (append eshell-special-chars-outside-quoting '(?$))) | 209 | (append eshell-special-chars-outside-quoting '(?$))) |
| 210 | 210 | ||
| 211 | (make-local-hook 'eshell-parse-argument-hook) | ||
| 212 | (add-hook 'eshell-parse-argument-hook 'eshell-interpolate-variable t t) | 211 | (add-hook 'eshell-parse-argument-hook 'eshell-interpolate-variable t t) |
| 213 | 212 | ||
| 214 | (make-local-hook 'eshell-prepare-command-hook) | ||
| 215 | (add-hook 'eshell-prepare-command-hook | 213 | (add-hook 'eshell-prepare-command-hook |
| 216 | 'eshell-handle-local-variables nil t) | 214 | 'eshell-handle-local-variables nil t) |
| 217 | 215 | ||
| 218 | (when (eshell-using-module 'eshell-cmpl) | 216 | (when (eshell-using-module 'eshell-cmpl) |
| 219 | (make-local-hook 'pcomplete-try-first-hook) | ||
| 220 | (add-hook 'pcomplete-try-first-hook | 217 | (add-hook 'pcomplete-try-first-hook |
| 221 | 'eshell-complete-variable-reference nil t) | 218 | 'eshell-complete-variable-reference nil t) |
| 222 | (add-hook 'pcomplete-try-first-hook | 219 | (add-hook 'pcomplete-try-first-hook |