(buffer-file-number): New variable.
authorRichard M. Stallman <rms@gnu.org>
Mon, 12 Oct 1992 04:45:53 +0000 (04:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 12 Oct 1992 04:45:53 +0000 (04:45 +0000)
commitf3e23606461f3fb6189871d911bb16cc753323e2
tree3cc3598d9932ca9b4ca43cc9b73a7f64c48d81b9
parentf77ffc3d778ad4ab7bb79b22f9eb74b4d0622376
(buffer-file-number): New variable.
(find-file-noselect): Record the file's filenum and devnum.
Notify if any buffer has the same values.
(basic-save-buffer): Save new filenum and devnum.
For file-precious-flag, pass real name as VISIT arg of write-region.
(set-visited-file-name): Likewise.
Clear buffer-file-{number,truename} if now visiting no file.
lisp/files.el