Author: sasugaanija
Date: Mon Jun 30 23:03:10 2008
New Revision: 5505

Modified:
  trunk/emacs/uim-util.el

Log:
* emacs/uim-util.el
- (uim-get-window-offset): Fix bug; When a right-hand neighbor
  character of the cursor is a horizontal-tab, candidates
  are not displayed.



Modified: trunk/emacs/uim-util.el
==============================================================================
--- trunk/emacs/uim-util.el     (original)
+++ trunk/emacs/uim-util.el     Mon Jun 30 23:03:10 2008
@@ -270,7 +270,7 @@
    (save-excursion
      (when (and (char-after)
                 (= (char-after) ?\t))
-       (insert-char 32)
+       (insert-char 32 1)
        (setq dummy-space t)
        ))

@@ -291,7 +291,7 @@
      )

    (if dummy-space
-       (delete-char))
+       (delete-char 1))
    i
    ))

Reply via email to