Function: term-delchar-or-maybe-eof

term-delchar-or-maybe-eof is an interactive and byte-compiled function defined in term.el.gz.

Signature

(term-delchar-or-maybe-eof ARG)

Documentation

Delete ARG characters forward, or send an EOF to process if at end of buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-delchar-or-maybe-eof (arg)
  "Delete ARG characters forward, or send an EOF to process if at end of buffer."
  (interactive "p")
  (if (eobp)
      (process-send-eof)
    (delete-char arg)))