emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/src coding.c


From: Chong Yidong
Subject: [Emacs-diffs] emacs/src coding.c
Date: Thu, 04 Jun 2009 01:06:04 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/06/04 01:06:04

Modified files:
        src            : coding.c 

Log message:
        * coding.c (get_translation_table): Check Venable_character_translation.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/coding.c?cvsroot=emacs&r1=1.429&r2=1.430

Patches:
Index: coding.c
===================================================================
RCS file: /sources/emacs/emacs/src/coding.c,v
retrieving revision 1.429
retrieving revision 1.430
diff -u -b -r1.429 -r1.430
--- coding.c    2 May 2009 11:32:44 -0000       1.429
+++ coding.c    4 Jun 2009 01:06:04 -0000       1.430
@@ -6623,6 +6623,12 @@
   Lisp_Object standard, translation_table;
   Lisp_Object val;
 
+  if (NILP (Venable_character_translation))
+    {
+      if (max_lookup)
+       *max_lookup = 0;
+      return Qnil;
+    }
   if (encodep)
     translation_table = CODING_ATTR_ENCODE_TBL (attrs),
       standard = Vstandard_translation_table_for_encode;




reply via email to

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