diff options
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/files.el b/lisp/files.el index 4fa1e56f794..6815354cf55 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -6240,11 +6240,6 @@ an auto-save file." "Cannot revert unreadable file %s") file-name)) (t - ;; Bind buffer-file-name to nil - ;; so that we don't try to lock the file. - (let ((buffer-file-name nil)) - (or auto-save-p - (unlock-buffer))) (widen) (let ((coding-system-for-read ;; Auto-saved file should be read by Emacs's |