emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r111991: Fix previous change.


From: K. Handa
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111991: Fix previous change.
Date: Mon, 11 Mar 2013 00:08:46 +0900
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111991 [merge]
committer: K. Handa <address@hidden>
branch nick: trunk
timestamp: Mon 2013-03-11 00:08:46 +0900
message:
  Fix previous change.
modified:
  src/coding.c
=== modified file 'src/coding.c'
--- a/src/coding.c      2013-03-10 14:43:58 +0000
+++ b/src/coding.c      2013-03-10 15:06:04 +0000
@@ -7509,7 +7509,9 @@
 #ifndef CODING_DISABLE_ASCII_OPTIMIZATION
   if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs))
       && NILP (CODING_ATTR_POST_READ (attrs))
-      && NILP (get_translation_table (attrs, 0, NULL)))
+      && NILP (get_translation_table (attrs, 0, NULL))
+      && (inhibit_eol_conversion
+         || EQ (CODING_ID_EOL_TYPE (coding->id), Qunix)))
     {
       /* We can skip the conversion if all source bytes are ASCII.  */
       if (coding->head_ascii < 0)


reply via email to

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