From 958b2a54be866bf2bff2c32e27c9c068ab1b6f4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Sat, 16 Feb 2002 09:40:40 +0000 Subject: [PATCH] (eshell-rebind-initialize): Do not use make-local-hook. --- lisp/eshell/em-rebind.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/lisp/eshell/em-rebind.el b/lisp/eshell/em-rebind.el index c52617633c1..e3aefd9b554 100644 --- a/lisp/eshell/em-rebind.el +++ b/lisp/eshell/em-rebind.el @@ -147,12 +147,9 @@ This is default behavior of shells like bash." (defun eshell-rebind-initialize () "Initialize the inputing code." (unless eshell-non-interactive-p - (make-local-hook 'eshell-mode-hook) (add-hook 'eshell-mode-hook 'eshell-setup-input-keymap nil t) - (make-local-hook 'pre-command-hook) (make-local-variable 'eshell-previous-point) (add-hook 'pre-command-hook 'eshell-save-previous-point nil t) - (make-local-hook 'post-command-hook) (make-local-variable 'overriding-local-map) (add-hook 'post-command-hook 'eshell-rebind-input-map nil t) (set (make-local-variable 'eshell-lock-keymap) nil) -- 2.11.4.GIT