Function: sh-maybe-here-document

sh-maybe-here-document is an interactive and byte-compiled function defined in sh-script.el.gz.

This command is obsolete since 24.3; use sh-electric-here-document-mode(var)/sh-electric-here-document-mode(fun) instead.

Signature

(sh-maybe-here-document ARG)

Documentation

Insert self. Without prefix, following unquoted < inserts here document.

The document is bounded by sh-here-document-word.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defun sh-maybe-here-document (arg)
  "Insert self.  Without prefix, following unquoted `<' inserts here document.
The document is bounded by `sh-here-document-word'."
  (declare (obsolete sh-electric-here-document-mode "24.3"))
  (interactive "*P")
  (self-insert-command (prefix-numeric-value arg))
  (or arg (sh--maybe-here-document)))