diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/composite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c index 5c8a9111559..97524297988 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1260,7 +1260,7 @@ find_automatic_composition (pos, limit, start, end, gstring, string) | |||
| 1260 | Lisp_Object window; | 1260 | Lisp_Object window; |
| 1261 | struct window *w; | 1261 | struct window *w; |
| 1262 | 1262 | ||
| 1263 | window = Fget_buffer_create (Fcurrent_buffer (), Qnil); | 1263 | window = Fget_buffer_window (Fcurrent_buffer (), Qnil); |
| 1264 | if (NILP (window)) | 1264 | if (NILP (window)) |
| 1265 | return 0; | 1265 | return 0; |
| 1266 | w = XWINDOW (window); | 1266 | w = XWINDOW (window); |