mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(eshell-show-usage-metrics): Do not use make-local-hook.
This commit is contained in:
parent
c2dff9ce0a
commit
d4f72c6af8
@ -211,7 +211,6 @@
|
||||
0
|
||||
(current-time)))
|
||||
|
||||
(make-local-hook 'eshell-pre-command-hook)
|
||||
(add-hook 'eshell-pre-command-hook
|
||||
(function
|
||||
(lambda ()
|
||||
@ -220,7 +219,6 @@
|
||||
(car (memory-use-counts))
|
||||
(current-time))))) nil t)
|
||||
|
||||
(make-local-hook 'eshell-post-command-hook)
|
||||
(add-hook 'eshell-post-command-hook
|
||||
(function
|
||||
(lambda ()
|
||||
|
Loading…
Reference in New Issue
Block a user