Variable: find-file-suppress-same-file-warnings

find-file-suppress-same-file-warnings is a customizable variable defined in files.el.gz.

Value

nil

Documentation

Non-nil means suppress warning messages for symlinked files.

When nil, Emacs prints a warning when visiting a file that is already visited, but with a different name. Setting this option to t suppresses this warning.

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

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom find-file-suppress-same-file-warnings nil
  "Non-nil means suppress warning messages for symlinked files.
When nil, Emacs prints a warning when visiting a file that is already
visited, but with a different name.  Setting this option to t
suppresses this warning."
  :group 'files
  :version "21.1"
  :type 'boolean)