summaryrefslogtreecommitdiff
path: root/src/composite.c
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina <fgallina@gnu.org>2014-12-27 13:31:20 -0300
committerFabián Ezequiel Gallina <fgallina@gnu.org>2014-12-27 13:31:20 -0300
commit35e1f9d9fcbaab51808e05f514e63927f959ae51 (patch)
treee9d7d0ef8b1d61d728d4d076e46088a3b9b29d73 /src/composite.c
parentf315b69922db769f3358e15616aa76c965be8a89 (diff)
parenta5f38fa1cc8eafe13f2073ebfaa8205b5e919d17 (diff)
downloademacs-35e1f9d9fcbaab51808e05f514e63927f959ae51.tar.gz
emacs-35e1f9d9fcbaab51808e05f514e63927f959ae51.tar.bz2
emacs-35e1f9d9fcbaab51808e05f514e63927f959ae51.zip
Merge from origin/emacs-24
a5f38fa Fix ChangeLog typo c6400e1 Fix composition of characters from Syriac and Arabis scripts. 7e9dfde python.el: Fix message when sending region. 800260c python.el: Cleanup temp files even with eval errors. ed65b91 Fix for previous commit 2dd5163 python.el: Handle file encoding for shell. 7aa506e Spelling fixes 4cd6d77 * automated/tramp-tests.el (tramp-test17-insert-directory): Do not expect a given order of "." and "..". a41d07b Fix rendering of composed caharacters on the mode line. (Bug#19435) b70977c Small doc markup fixes 73c050c * doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes. 1783e6c ChangeLog fix c741b1b TUTORIAL.es: Improve style consistency f89efea TUTORIAL.es: spelling fixes 0d48826 Avoid compiler warning. Conflicts: doc/lispref/ChangeLog doc/lispref/control.texi etc/ChangeLog lisp/ChangeLog src/ChangeLog test/ChangeLog
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c
index 8982c904096..0b52a9fcd2b 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -1032,7 +1032,8 @@ composition_compute_stop_pos (struct composition_it *cmp_it, ptrdiff_t charpos,
}
}
}
- if (charpos == endpos)
+ if (charpos == endpos
+ && !(STRINGP (string) && endpos == SCHARS (string)))
{
/* We couldn't find a composition point before ENDPOS. But,
some character after ENDPOS may be composed with