Variable: sh-electric-here-document-mode
sh-electric-here-document-mode is a buffer-local variable defined in
sh-script.el.gz.
Documentation
Non-nil if Sh-Electric-Here-Document mode is enabled.
Use the command sh-electric-here-document-mode(var)/sh-electric-here-document-mode(fun) to change this
variable.
Probably introduced at or before Emacs version 24.3.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(define-minor-mode sh-electric-here-document-mode
"Make << insert a here document skeleton."
:lighter nil
(if sh-electric-here-document-mode
(add-hook 'post-self-insert-hook #'sh--maybe-here-document nil t)
(remove-hook 'post-self-insert-hook #'sh--maybe-here-document t)))