Function: tpu-edt-off
tpu-edt-off is an interactive and byte-compiled function defined in
tpu-edt.el.gz.
Signature
(tpu-edt-off)
Documentation
Turn off TPU/edt emulation. Note that the keypad is left on.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/tpu-edt.el.gz
(defun tpu-edt-off ()
"Turn off TPU/edt emulation. Note that the keypad is left on."
(interactive)
(tpu-reset-control-keys nil)
(remove-hook 'post-command-hook #'tpu-search-highlight)
(tpu-set-mode-line nil)
(while tpu-edt-old-global-values
(let ((varval (pop tpu-edt-old-global-values)))
(set-default (car varval) (cdr varval))))
;; Remove tpu-global-map from the global map.
(let ((map global-map))
(while map
(let ((parent (keymap-parent map)))
(if (eq tpu-global-map parent)
(set-keymap-parent map (keymap-parent parent))
(setq map parent)))))
;; Only has an effect if the advice in tpu-extras has been activated.
(condition-case nil
(with-no-warnings (ad-disable-regexp "\\`tpu-"))
(error nil))
(setq tpu-edt-mode nil))