# HG changeset patch # User Pavel Jank # Date 1013852440 0 # Node ID ab078394a53614b62d33bf27030a24f93505529e # Parent d65b6b00330ff251ddbd1713a4f273b007e2a82c (eshell-rebind-initialize): Do not use make-local-hook. diff -r d65b6b00330f -r ab078394a536 lisp/eshell/em-rebind.el --- a/lisp/eshell/em-rebind.el Sat Feb 16 09:40:19 2002 +0000 +++ b/lisp/eshell/em-rebind.el Sat Feb 16 09:40:40 2002 +0000 @@ -147,12 +147,9 @@ (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)