comint-dynamic-complete-functions

comint-dynamic-complete-functions is a variable defined in `comint.el'.
Its value is

(comint-c-a-p-replace-by-expanded-history comint-filename-completion)

  • This variable may be risky if used as a file-local variable.

Documentation:
List of functions called to perform completion.
Works like `completion-at-point-functions'.
See also `completion-at-point'.

This is a good thing to set in mode hooks.