Author: sasugaanija
Date: Tue Sep 18 09:40:50 2007
New Revision: 4978
Modified:
trunk/emacs/uim-key.el
Log:
* emacs/uim-key.el
- (uim-command-execute) : Fix bug; if delete-selection-mode is
enabled, a character at the left of the selected region is also
erased when deleting the region by BS.
Modified: trunk/emacs/uim-key.el
==============================================================================
--- trunk/emacs/uim-key.el (original)
+++ trunk/emacs/uim-key.el Tue Sep 18 09:40:50 2007
@@ -183,11 +183,9 @@
(setcdr (assq 'uim-mode minor-mode-map-alist) uim-dummy-map)
(if (and bind
- (commandp bind)
- (not (eq bind 'digit-argument)))
- (command-execute bind)
- (uim-debug (format "command-execute %s" uim-key-vector))
- (command-execute uim-key-vector))
+ (eq bind 'digit-argument))
+ (command-execute uim-key-vector)
+ (command-execute this-command))
(setq last-command this-command)
;;(setq last-command-char (aref uim-key-vector 0))