Variable: eshell-cmpl-command-name-function

eshell-cmpl-command-name-function is a customizable variable defined in em-cmpl.el.gz.

Value

eshell-completion-command-name

Documentation

Function called for determining the current command name.

Its value is assigned to pcomplete-command-name-function locally after eshell starts.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-cmpl.el.gz
(defcustom eshell-cmpl-command-name-function
  #'eshell-completion-command-name
  (eshell-cmpl--custom-variable-docstring 'pcomplete-command-name-function)
  :type (get 'pcomplete-command-name-function 'custom-type))