Function: comint-replace-by-expanded-history-before-point

Expand directory stack reference before point.
See `comint-replace-by-expanded-history'. Returns t if successful.

If the optional argument START is non-nil, that specifies the
start of the text to scan for history references, rather
than the logical beginning of line.

If DRY-RUN is non-nil, throw to DRY-RUN before performing any
actual side-effect.
(fn SILENT &optional START DRY-RUN)