1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(revert-buffer): Correct typo: variable name is `buffer-file-format',

not `buffer-file-formats'.
This commit is contained in:
Miles Bader 2002-06-10 06:30:41 +00:00
parent 8b1d2946a2
commit 0415fedcd5
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,14 @@
2002-06-10 Miles Bader <miles@gnu.org>
* files.el (revert-buffer): Correct typo: variable name is
`buffer-file-format', not `buffer-file-formats'.
* comint.el (comint-send-input, comint-output-filter): Use the
`font-lock-face' property instead of `face'. Don't check the
highlight-enabling variables anymore.
(comint-highlight-input, comint-highlight-prompt): Variables
removed.
* faces.el (display-supports-face-attributes-p): New function.
(face-spec-set-match-display): Support `supports' predicate.
(italic): Try underlining for displays that don't support real italics.

View File

@ -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)