diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 21:20:02 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2018-06-10 21:20:02 +0200 |
commit | 78d53fe5e55348347707441a4511f660580f2d39 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /app-editors/emacs-23.3/emacs-23.3-wide-chars-fix.patch | |
parent | a291f804ce522b53a6e3203ec7799905c1224885 (diff) | |
download | patches-78d53fe5e55348347707441a4511f660580f2d39.tar.gz patches-78d53fe5e55348347707441a4511f660580f2d39.tar.bz2 patches-78d53fe5e55348347707441a4511f660580f2d39.zip |
[emacs] Remove probably unneeded patch
Diffstat (limited to '')
-rw-r--r-- | app-editors/emacs-23.3/emacs-23.3-wide-chars-fix.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/app-editors/emacs-23.3/emacs-23.3-wide-chars-fix.patch b/app-editors/emacs-23.3/emacs-23.3-wide-chars-fix.patch deleted file mode 100644 index 0a4825e..0000000 --- a/app-editors/emacs-23.3/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 |