Function: eshell-rebind-initialize

eshell-rebind-initialize is a byte-compiled function defined in em-rebind.el.gz.

Signature

(eshell-rebind-initialize)

Documentation

Initialize the inputting code.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-rebind.el.gz
(defun eshell-rebind-initialize ()  ;Called from `eshell-mode' via intern-soft!
  "Initialize the inputting code."
  (unless eshell-non-interactive-p
    (add-hook 'eshell-mode-hook 'eshell-setup-input-keymap nil t)
    (make-local-variable 'eshell-previous-point)
    (add-hook 'pre-command-hook 'eshell-save-previous-point nil t)
    (make-local-variable 'overriding-local-map)
    (add-hook 'post-command-hook 'eshell-rebind-input-map nil t)
    (setq-local eshell-lock-keymap nil)
    (eshell-rebind-mode)))