+2001-03-05 Kenichi Handa <handa@etl.go.jp>
+
+ * international/mule-cmds.el (activate-input-method): If
+ current-input-method-title is set by activating INPUT-METHOD,
+ respect that value.
+
2001-03-05 Gerd Moellmann <gerd@gnu.org>
* play/dunnet.el (dun-mode): Set major-mode to `dun-mode'.
(let ((slot (assoc input-method input-method-alist)))
(if (null slot)
(error "Can't activate input method `%s'" input-method))
+ (setq current-input-method-title nil)
(let ((func (nth 2 slot)))
(if (functionp func)
(apply (nth 2 slot) input-method (nthcdr 5 slot))
(apply (car func) input-method (nthcdr 5 slot)))
(error "Can't activate input method `%s'" input-method))))
(setq current-input-method input-method)
- (setq current-input-method-title (nth 3 slot))
+ (or (stringp current-input-method-title)
+ (setq current-input-method-title (nth 3 slot)))
(unwind-protect
(run-hooks 'input-method-activate-hook)
(force-mode-line-update)))))