Function: eshell-mark-numeric-string

eshell-mark-numeric-string is a byte-compiled function defined in esh-util.el.gz.

Signature

(eshell-mark-numeric-string STRING)

Documentation

If STRING is convertible to a number, add a text property indicating so.

See eshell-convertible-to-number-p.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-mark-numeric-string (string)
  "If STRING is convertible to a number, add a text property indicating so.
See `eshell-convertible-to-number-p'."
  (when (eshell-convertible-to-number-p string)
    (eshell--do-mark-numeric-string string))
  string)