Function: eshell-get-numeric-modifier-argument
eshell-get-numeric-modifier-argument is a byte-compiled function
defined in em-pred.el.gz.
Signature
(eshell-get-numeric-modifier-argument)
Documentation
Starting at point, get the numeric modifier argument, if any.
If a number is found, update point to just after the number.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-pred.el.gz
(defun eshell-get-numeric-modifier-argument ()
"Starting at point, get the numeric modifier argument, if any.
If a number is found, update point to just after the number."
(when (looking-at "[0-9]+")
(prog1
(string-to-number (match-string 0))
(goto-char (match-end 0)))))