Function: recover-this-file

recover-this-file is an interactive and byte-compiled function defined in files.el.gz.

Signature

(recover-this-file)

Documentation

Recover the visited file--get contents from its last auto-save file.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defun recover-this-file ()
  "Recover the visited file--get contents from its last auto-save file."
  (interactive)
  (or buffer-file-name
      (user-error "This buffer is not visiting a file"))
  (recover-file buffer-file-name))