emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c [emacs-unicode-2]


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c [emacs-unicode-2]
Date: Thu, 09 Oct 2003 19:08:14 -0400

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.492.2.3 emacs/src/fileio.c:1.492.2.4
*** emacs/src/fileio.c:1.492.2.3        Mon Sep 29 14:02:39 2003
--- emacs/src/fileio.c  Thu Oct  9 19:08:14 2003
***************
*** 4521,4528 ****
    /* Use the conversion type to determine buffer-file-type
       (find-buffer-file-type is now used to help determine the
       conversion).  */
!   if ((coding.eol_type == eol_type_undecided
!        || coding.eol_type == eol_type_lf)
        && ! CODING_REQUIRE_DECODING (&coding))
      current_buffer->buffer_file_type = Qt;
    else
--- 4521,4528 ----
    /* Use the conversion type to determine buffer-file-type
       (find-buffer-file-type is now used to help determine the
       conversion).  */
!   if ((EQ (CODING_ID_EOL_TYPE (coding.id), Qundecided)
!        || EQ (CODING_ID_EOL_TYPE (coding.id), Qunix))
        && ! CODING_REQUIRE_DECODING (&coding))
      current_buffer->buffer_file_type = Qt;
    else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]