1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00

(Finsert_file_contents) [MSDOS]: Don't re-gc-protect filename; delete unused

variables.
This commit is contained in:
Karl Heuer 1994-09-16 23:39:59 +00:00
parent 05ed817ff1
commit edb06ed060

View file

@ -2858,13 +2858,8 @@ and (2) it puts less data in the undo list.")
/* Determine file type from name and remove LFs from CR-LFs if the file
is deemed to be a text file. */
{
struct gcpro gcpro1;
Lisp_Object code;
code = Qnil;
GCPRO1 (filename);
current_buffer->buffer_file_type
= call1 (Qfind_buffer_file_type, filename);
UNGCPRO;
if (NILP (current_buffer->buffer_file_type))
{
int reduced_size