Variable: find-file-visit-truename

find-file-visit-truename is a customizable variable defined in files.el.gz.

Value

nil

Documentation

Non-nil means visiting a file uses its truename as the visited-file name.

That is, the buffer visiting the file has the truename as the value of buffer-file-name(var)/buffer-file-name(fun). The truename of a file is found by chasing all links both at the file level and at the levels of the containing directories.

View in manual

Probably introduced at or before Emacs version 19.20.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom find-file-visit-truename nil
  "Non-nil means visiting a file uses its truename as the visited-file name.
That is, the buffer visiting the file has the truename as the
value of `buffer-file-name'.  The truename of a file is found by
chasing all links both at the file level and at the levels of the
containing directories."
  :type 'boolean
  :group 'find-file)