Function: terminal-edit-mode

terminal-edit-mode is a byte-compiled function defined in terminal.el.gz.

Signature

(terminal-edit-mode)

Documentation

Major mode for editing the contents of a terminal-emulator buffer.

The editing commands are the same as in Fundamental mode, together with a command to return to terminal emulation: C-c C-c (terminal-cease-edit).

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/terminal.el.gz
(defun terminal-edit-mode ()
  "Major mode for editing the contents of a terminal-emulator buffer.
The editing commands are the same as in Fundamental mode,
together with a command \\<terminal-edit-map>to return to terminal emulation: \\[terminal-cease-edit]."
  (use-local-map terminal-edit-map)
  (setq major-mode 'terminal-edit-mode)
  (setq mode-name "Terminal Edit")
  (setq mode-line-modified (default-value 'mode-line-modified))
  (setq mode-line-process nil)
  (run-mode-hooks 'terminal-edit-mode-hook))