changeset 45728:6fb3f0f51997

(revert-buffer): Correct typo: variable name is `buffer-file-format', not `buffer-file-formats'.
author Miles Bader <miles@gnu.org>
date Mon, 10 Jun 2002 06:30:09 +0000
parents a899b2c6ce9b
children 91b90aef166c
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Mon Jun 10 06:20:33 2002 +0000
+++ b/lisp/files.el	Mon Jun 10 06:30:09 2002 +0000
@@ -3223,7 +3223,7 @@
 			    coding-system-for-read)))
 		     ;; Note that this preserves point in an intelligent way.
 		     (if preserve-modes
-			 (let ((buffer-file-formats buffer-file-formats))
+			 (let ((buffer-file-format buffer-file-format))
 			   (insert-file-contents file-name (not auto-save-p)
 						 nil nil t))
 		       (insert-file-contents file-name (not auto-save-p)