]> git.eshelyaron.com Git - emacs.git/commitdiff
(find_automatic_composition): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Fri, 12 Sep 2008 05:42:28 +0000 (05:42 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 12 Sep 2008 05:42:28 +0000 (05:42 +0000)
src/composite.c

index 5c8a91115590e5111fe162b4af84662000747614..97524297988c4f0d7132ae9eba9c8dd54f7e21f6 100644 (file)
@@ -1260,7 +1260,7 @@ find_automatic_composition (pos, limit, start, end, gstring, string)
   Lisp_Object window;
   struct window *w;
 
-  window = Fget_buffer_create (Fcurrent_buffer (), Qnil);
+  window = Fget_buffer_window (Fcurrent_buffer (), Qnil);
   if (NILP (window))
     return 0;
   w = XWINDOW (window);