]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-with-input-method): Call input-method-function with the first
authorKenichi Handa <handa@m17n.org>
Tue, 24 Oct 2000 01:34:25 +0000 (01:34 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 24 Oct 2000 01:34:25 +0000 (01:34 +0000)
event in unread-command-events.

lisp/international/isearch-x.el

index 67090bcac543ab156ce5a8888866f32b4f96126d..bd49321dd5ee19022fe50cad9a7f39eaabaf78aa 100644 (file)
 
 (defun isearch-with-input-method ()
   (interactive)
-  (let ((events (funcall input-method-function nil)))
+  (let ((key (car unread-command-events))
+       events)
+    (setq unread-command-events (cdr unread-command-events)
+         events (funcall input-method-function key))
     ;; EVENTS is a list of events the input method has generated.  It
     ;; contains a character event and/or the special event
     ;; `compose-last-chars'.  We extract only character events and