mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(revert-buffer): Correct typo: variable name is `buffer-file-format',
not `buffer-file-formats'.
This commit is contained in:
parent
8b1d2946a2
commit
0415fedcd5
2 changed files with 10 additions and 1 deletions
|
|
@ -3223,7 +3223,7 @@ non-nil, it is called instead of rereading visited file contents."
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue