]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-show-usage-metrics): Do not use make-local-hook.
authorPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:43:38 +0000 (09:43 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:43:38 +0000 (09:43 +0000)
lisp/eshell/esh-test.el

index 2e4d9c69bec909612fd24e3112e46f094f421677..0145e17181060cad229c3e4513562cfed47f803b 100644 (file)
           0
         (current-time)))
 
-  (make-local-hook 'eshell-pre-command-hook)
   (add-hook 'eshell-pre-command-hook
            (function
             (lambda ()
                         (car (memory-use-counts))
                       (current-time))))) nil t)
 
-  (make-local-hook 'eshell-post-command-hook)
   (add-hook 'eshell-post-command-hook
            (function
             (lambda ()