Function: eshell--special-ref-function

eshell--special-ref-function is a byte-compiled function defined in esh-arg.el.gz.

Signature

(eshell--special-ref-function TYPE FUNCTION)

Documentation

Get the specified FUNCTION for a particular special ref TYPE.

If TYPE is nil, get the FUNCTION for the eshell-special-ref-default.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-arg.el.gz
;;; Special references

(defsubst eshell--special-ref-function (type function)
  "Get the specified FUNCTION for a particular special ref TYPE.
If TYPE is nil, get the FUNCTION for the `eshell-special-ref-default'."
  (cadr (assq function (assoc (or type eshell-special-ref-default)
                              eshell-special-ref-alist))))