/[emacs]/emacs/src/coding.c
ViewVC logotype

Diff of /emacs/src/coding.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.239.2.28 by fx, Tue Jul 16 15:10:13 2002 UTC revision 1.239.2.29 by fx, Wed Jul 17 10:20:32 2002 UTC
# Line 1  Line 1 
1  /* Coding system handler (conversion, detection, and etc).  /* Coding system handler (conversion, detection, and etc).
2     Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN.     Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN.
3     Licensed to the Free Software Foundation.     Licensed to the Free Software Foundation.
4     Copyright (C) 2001 Free Software Foundation, Inc.     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
5     Copyright (C) 2001, 2002     Copyright (C) 2001, 2002
6       National Institute of Advanced Industrial Science and Technology (AIST)       National Institute of Advanced Industrial Science and Technology (AIST)
7       Registration Number H13PRO009       Registration Number H13PRO009
# Line 4982  adjust_coding_eol_type (coding, eol_seen Line 4982  adjust_coding_eol_type (coding, eol_seen
4982    eol_type = CODING_ID_EOL_TYPE (coding->id);    eol_type = CODING_ID_EOL_TYPE (coding->id);
4983    if (eol_seen & EOL_SEEN_LF)    if (eol_seen & EOL_SEEN_LF)
4984      coding->id = CODING_SYSTEM_ID (AREF (eol_type, 0));      coding->id = CODING_SYSTEM_ID (AREF (eol_type, 0));
4985    else if (eol_type & EOL_SEEN_CRLF)    else if (eol_seen & EOL_SEEN_CRLF)
4986      coding->id = CODING_SYSTEM_ID (AREF (eol_type, 1));      coding->id = CODING_SYSTEM_ID (AREF (eol_type, 1));
4987    else if (eol_type & EOL_SEEN_CR)    else if (eol_seen & EOL_SEEN_CR)
4988      coding->id = CODING_SYSTEM_ID (AREF (eol_type, 2));      coding->id = CODING_SYSTEM_ID (AREF (eol_type, 2));
4989  }  }
4990    

Legend:
Removed from v.1.239.2.28  
changed lines
  Added in v.1.239.2.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26