diff options
| author | Pavel Janík | 2002-02-16 09:43:38 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-02-16 09:43:38 +0000 |
| commit | d4f72c6af8d181c3555552eeb22255d5cc1417e4 (patch) | |
| tree | e6cde955a1252a214403626d6ce096b258574230 /lisp/eshell | |
| parent | c2dff9ce0a9126c2256394df261101b920fcd30f (diff) | |
| download | emacs-d4f72c6af8d181c3555552eeb22255d5cc1417e4.tar.gz emacs-d4f72c6af8d181c3555552eeb22255d5cc1417e4.zip | |
(eshell-show-usage-metrics): Do not use make-local-hook.
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/esh-test.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/eshell/esh-test.el b/lisp/eshell/esh-test.el index 2e4d9c69bec..0145e171810 100644 --- a/lisp/eshell/esh-test.el +++ b/lisp/eshell/esh-test.el | |||
| @@ -211,7 +211,6 @@ | |||
| 211 | 0 | 211 | 0 |
| 212 | (current-time))) | 212 | (current-time))) |
| 213 | 213 | ||
| 214 | (make-local-hook 'eshell-pre-command-hook) | ||
| 215 | (add-hook 'eshell-pre-command-hook | 214 | (add-hook 'eshell-pre-command-hook |
| 216 | (function | 215 | (function |
| 217 | (lambda () | 216 | (lambda () |
| @@ -220,7 +219,6 @@ | |||
| 220 | (car (memory-use-counts)) | 219 | (car (memory-use-counts)) |
| 221 | (current-time))))) nil t) | 220 | (current-time))))) nil t) |
| 222 | 221 | ||
| 223 | (make-local-hook 'eshell-post-command-hook) | ||
| 224 | (add-hook 'eshell-post-command-hook | 222 | (add-hook 'eshell-post-command-hook |
| 225 | (function | 223 | (function |
| 226 | (lambda () | 224 | (lambda () |