+2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * international/quail.el (quail-start-translation)
+ (quail-start-conversion): Bind last-command-event, last-command,
+ and this-command in the first let. This fixes the change from
+ 2000-08-30.
+
2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-hook.el: added an autoload cookie.
(overriding-terminal-local-map (quail-translation-keymap))
(generated-events nil)
(input-method-function nil)
- (modified-p (buffer-modified-p)))
+ (modified-p (buffer-modified-p))
+ last-command-event last-command this-command)
(setq quail-current-key ""
quail-current-str ""
quail-translating t)
(if (if key
(and (commandp cmd) (not (eq cmd 'quail-other-command)))
(eq cmd 'quail-self-insert-command))
- (let ((last-command-event (aref keyseq (1- (length keyseq))))
- (last-command this-command)
- (this-command cmd))
+ (progn
+ (setq last-command-event (aref keyseq (1- (length keyseq)))
+ last-command this-command
+ this-command cmd)
(setq key t)
(condition-case err
(call-interactively cmd)
(overriding-terminal-local-map (quail-conversion-keymap))
(generated-events nil)
(input-method-function nil)
- (modified-p (buffer-modified-p)))
+ (modified-p (buffer-modified-p))
+ last-command-event last-command this-command)
(setq quail-current-key ""
quail-current-str ""
quail-translating t
nil nil t))
(cmd (lookup-key (quail-conversion-keymap) keyseq)))
(if (if key (commandp cmd) (eq cmd 'quail-self-insert-command))
- (let ((last-command-event (aref keyseq (1- (length keyseq))))
- (last-command this-command)
- (this-command cmd))
+ (progn
+ (setq last-command-event (aref keyseq (1- (length keyseq)))
+ last-command this-command
+ this-command cmd)
(setq key t)
(condition-case err
(call-interactively cmd)