aboutsummaryrefslogtreecommitdiffstats
path: root/src/indent.c
diff options
context:
space:
mode:
authorGlenn Morris2012-12-09 18:00:42 -0800
committerGlenn Morris2012-12-09 18:00:42 -0800
commit265c2fbf11cb8bf9b805df63ecb9508631f08e35 (patch)
tree808684294d7ec600f5300e0a5d5f868740096f7b /src/indent.c
parent5f460827dd14fbfae26ac8451cedd4446817d1ec (diff)
parentf433306af510e86a614e9f9f082b6d2d5f56a968 (diff)
downloademacs-265c2fbf11cb8bf9b805df63ecb9508631f08e35.tar.gz
emacs-265c2fbf11cb8bf9b805df63ecb9508631f08e35.zip
Merge from emacs-24; up to 2012-11-26T19:56:14Z!monnier@iro.umontreal.ca
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index a3abf88feeb..327526eae2d 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2025,7 +2025,11 @@ whether or not it is currently displayed in some window. */)
2025 const char *s = SSDATA (it.string); 2025 const char *s = SSDATA (it.string);
2026 const char *e = s + SBYTES (it.string); 2026 const char *e = s + SBYTES (it.string);
2027 2027
2028 disp_string_at_start_p = it.string_from_display_prop_p; 2028 /* If it.area is anything but TEXT_AREA, we need not bother
2029 about the display string, as it doesn't affect cursor
2030 positioning. */
2031 disp_string_at_start_p =
2032 it.string_from_display_prop_p && it.area == TEXT_AREA;
2029 while (s < e) 2033 while (s < e)
2030 { 2034 {
2031 if (*s++ == '\n') 2035 if (*s++ == '\n')