emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r110192: Don't call MAYBE_UNIFY_CHAR


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110192: Don't call MAYBE_UNIFY_CHAR while processing buffers and strings.
Date: Tue, 25 Sep 2012 09:01:52 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110192
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Tue 2012-09-25 09:01:52 +0200
message:
  Don't call MAYBE_UNIFY_CHAR while processing buffers and strings.
  
   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.
modified:
  src/ChangeLog
  src/character.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-09-25 04:13:02 +0000
+++ b/src/ChangeLog     2012-09-25 07:01:52 +0000
@@ -1,3 +1,10 @@
+2012-09-25  Eli Zaretskii  <address@hidden>
+
+       * 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  <address@hidden>
 
        * xdisp.c (mode_line_inverse_video): Delete obsolete variable.

=== modified file 'src/character.c'
--- a/src/character.c   2012-09-15 07:06:56 +0000
+++ b/src/character.c   2012-09-25 07:01:52 +0000
@@ -126,8 +126,6 @@
       c &= ~CHAR_MODIFIER_MASK;
     }
 
-  MAYBE_UNIFY_CHAR (c);
-
   if (c <= MAX_3_BYTE_CHAR)
     {
       bytes = CHAR_STRING (c, p);
@@ -195,8 +193,6 @@
       p += 5;
     }
 
-  MAYBE_UNIFY_CHAR (c);
-
   if (len)
     *len = p - saved_p;
   if (advanced)


reply via email to

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