aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/eshell/esh-mode.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index acf8b22fecf..4e031b0e0b8 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -415,8 +415,6 @@ This is used by `eshell-watch-for-password-prompt'."
415 (if (and load-hook (boundp load-hook)) 415 (if (and load-hook (boundp load-hook))
416 (run-hooks load-hook)))) 416 (run-hooks load-hook))))
417 417
418 (make-local-hook 'pre-command-hook)
419
420 (if eshell-send-direct-to-subprocesses 418 (if eshell-send-direct-to-subprocesses
421 (add-hook 'pre-command-hook 'eshell-intercept-commands t t)) 419 (add-hook 'pre-command-hook 'eshell-intercept-commands t t))
422 420
@@ -427,12 +425,9 @@ This is used by `eshell-watch-for-password-prompt'."
427 (set (make-local-variable 'scroll-conservatively) 1000)) 425 (set (make-local-variable 'scroll-conservatively) 1000))
428 426
429 (when eshell-status-in-modeline 427 (when eshell-status-in-modeline
430 (make-local-hook 'eshell-pre-command-hook)
431 (add-hook 'eshell-pre-command-hook 'eshell-command-started nil t) 428 (add-hook 'eshell-pre-command-hook 'eshell-command-started nil t)
432 (make-local-hook 'eshell-post-command-hook)
433 (add-hook 'eshell-post-command-hook 'eshell-command-finished nil t)) 429 (add-hook 'eshell-post-command-hook 'eshell-command-finished nil t))
434 430
435 (make-local-hook 'kill-buffer-hook)
436 (add-hook 'kill-buffer-hook 431 (add-hook 'kill-buffer-hook
437 (function 432 (function
438 (lambda () 433 (lambda ()