Author: sasugaanija
Date: Mon Aug 27 07:57:13 2007
New Revision: 4901

Modified:
   trunk/emacs/uim.el

Log:
* emacs/uim.el
  - (uim-process-input)
    - Fix bug: selected region of XEmacs is always deactivated 
      with terminal-mode.
    - Remove redundant update of uim-deactivate-mark.



Modified: trunk/emacs/uim.el
==============================================================================
--- trunk/emacs/uim.el  (original)
+++ trunk/emacs/uim.el  Mon Aug 27 07:57:13 2007
@@ -873,8 +873,11 @@
                     last-input-event
                     ))
 
-  (if uim-emacs
-      (setq uim-deactivate-mark t))
+  ;;(if uim-emacs
+  ;;    (setq uim-deactivate-mark t))
+
+  (if uim-xemacs
+      (setq zmacs-region-stays nil))
 
   (if (not (or uim-translated-key-vector uim-untranslated-key-vector))
       (setq uim-keystroke-displaying nil))
@@ -1144,6 +1147,8 @@
       (if uim-emacs
          (setq uim-deactivate-mark nil))
 
+      (if uim-xemacs
+         (setq zmacs-region-stays t))
       )
 
     (when discard

Reply via email to