Function: autoarg-terminate
autoarg-terminate is an interactive and byte-compiled function defined
in autoarg.el.gz.
Signature
(autoarg-terminate N)
Documentation
Maybe terminate a digit prefix sequence.
With a non-negative numeric prefix arg, insert the digits comprising the arg into the current buffer. Otherwise use the binding of the key which invoked this function, excluding the Autoarg keymap.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/autoarg.el.gz
(defun autoarg-terminate (n)
"Maybe terminate a digit prefix sequence.
With a non-negative numeric prefix arg, insert the digits comprising
the arg into the current buffer. Otherwise use the binding of the key
which invoked this function, excluding the Autoarg keymap."
(interactive "P")
(if (numberp n)
(insert (number-to-string n))
(let* ((autoarg-mode nil) ; hide the bindings
(binding (key-binding (this-single-command-keys))))
(if binding (call-interactively binding)))))