]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't call MAYBE_UNIFY_CHAR while processing buffers and strings.
authorEli Zaretskii <eliz@gnu.org>
Tue, 25 Sep 2012 07:01:52 +0000 (09:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 25 Sep 2012 07:01:52 +0000 (09:01 +0200)
 src/character.c (char_string, string_char): Remove calls to
 MAYBE_UNIFY_CHAR.  See the discussion starting at
 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00433.html
 for the details.

src/ChangeLog
src/character.c

index 0f59d6088a532821486d1cb9c705fa8ffd934b35..ca9ca808c773b71a7a32edea0d6a2546c30105c4 100644 (file)
@@ -1,3 +1,10 @@
+2012-09-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * character.c (char_string, string_char): Remove calls to
+       MAYBE_UNIFY_CHAR.  See the discussion starting at
+       http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00433.html
+       for the details.
+
 2012-09-25  Chong Yidong  <cyd@gnu.org>
 
        * xdisp.c (mode_line_inverse_video): Delete obsolete variable.
index def1ad090fd74d5b7604000d61d0393fffe0be22..5808d48a23524d41f48254a9d89290f095fef109 100644 (file)
@@ -126,8 +126,6 @@ char_string (unsigned int c, unsigned char *p)
       c &= ~CHAR_MODIFIER_MASK;
     }
 
-  MAYBE_UNIFY_CHAR (c);
-
   if (c <= MAX_3_BYTE_CHAR)
     {
       bytes = CHAR_STRING (c, p);
@@ -195,8 +193,6 @@ string_char (const unsigned char *p, const unsigned char **advanced, int *len)
       p += 5;
     }
 
-  MAYBE_UNIFY_CHAR (c);
-
   if (len)
     *len = p - saved_p;
   if (advanced)