Variable: eshell-pwd-convert-function

eshell-pwd-convert-function is a customizable variable defined in em-dirs.el.gz.

Value

expand-file-name

Documentation

The function used to normalize the value of Eshell's pwd.

The value returned by pwd is also used when recording the last-visited directory in the last-dir-ring, so it will affect the form of the list used by cd =.

This variable was added, or its default value changed, in Emacs 31.1.

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-dirs.el.gz
(defcustom eshell-pwd-convert-function #'expand-file-name
  "The function used to normalize the value of Eshell's `pwd'.
The value returned by `pwd' is also used when recording the
last-visited directory in the last-dir-ring, so it will affect the
form of the list used by `cd ='."
  :type '(radio (function-item file-truename)
		(function-item expand-file-name)
		(function-item identity)
		(function :tag "Other"))
  :version "31.1")