summaryrefslogtreecommitdiff
path: root/app-editors/emacs/files/emacs-23.3-wide-chars-fix.patch
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-01-10 21:03:41 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-01-10 21:03:41 +0100
commitfe5beddabeeb8169daa2b953a9b855b44e4bb9a7 (patch)
treeed2e6ef129e6ada6df2d55a04229fca4b5c240a2 /app-editors/emacs/files/emacs-23.3-wide-chars-fix.patch
parent72a00248318cd617db93290dc5eac2fa19fdf409 (diff)
downloadoverlay-fe5beddabeeb8169daa2b953a9b855b44e4bb9a7.tar.gz
overlay-fe5beddabeeb8169daa2b953a9b855b44e4bb9a7.tar.bz2
overlay-fe5beddabeeb8169daa2b953a9b855b44e4bb9a7.zip
Remove emacs variant -- this is now tracked in patches
Diffstat (limited to 'app-editors/emacs/files/emacs-23.3-wide-chars-fix.patch')
-rw-r--r--app-editors/emacs/files/emacs-23.3-wide-chars-fix.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/app-editors/emacs/files/emacs-23.3-wide-chars-fix.patch b/app-editors/emacs/files/emacs-23.3-wide-chars-fix.patch
deleted file mode 100644
index 0a4825e..0000000
--- a/app-editors/emacs/files/emacs-23.3-wide-chars-fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/src/xdisp.c b/src/xdisp.c
-index 1f4c829..0f21c82 100644
---- a/src/xdisp.c
-+++ b/src/xdisp.c
-@@ -5922,9 +5922,21 @@ get_next_display_element (it)
- int pos = (it->s ? -1
- : STRINGP (it->string) ? IT_STRING_CHARPOS (*it)
- : IT_CHARPOS (*it));
-+ int c;
-+
-+ if (it->what == IT_CHARACTER)
-+ c = it->char_to_display;
-+ else
-+ {
-+ struct composition *cmp = composition_table[it->cmp_it.id];
-+ int i;
-
-- it->face_id = FACE_FOR_CHAR (it->f, face, it->char_to_display, pos,
-- it->string);
-+ c = ' ';
-+ for (i = 0; i < cmp->glyph_len; i++)
-+ if ((c = COMPOSITION_GLYPH (cmp, i)) != '\t')
-+ break;
-+ }
-+ it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string);
- }
- }
- #endif