Function: eshell-hist-word-reference
eshell-hist-word-reference is a byte-compiled function defined in
em-hist.el.gz.
Signature
(eshell-hist-word-reference REF)
Documentation
Return the word designator index referred to by REF.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defun eshell-hist-word-reference (ref)
"Return the word designator index referred to by REF."
(cond
((string-match "^[0-9]+$" ref)
(string-to-number ref))
((string= "^" ref) 1)
((string= "$" ref) nil)
((string= "%" ref)
(error "`%%' history word designator not yet implemented"))))