Function: comint-magic-space
comint-magic-space is an interactive and byte-compiled function
defined in comint.el.gz.
Signature
(comint-magic-space ARG)
Documentation
Expand input history references before point and insert ARG spaces.
A useful command to bind to SPC. See comint-replace-by-expanded-history.
Probably introduced at or before Emacs version 19.23.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-magic-space (arg)
"Expand input history references before point and insert ARG spaces.
A useful command to bind to SPC. See `comint-replace-by-expanded-history'."
(interactive "p")
(comint-replace-by-expanded-history)
(self-insert-command arg))