+2007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
+ available.
+
2007-05-06 Richard Stallman <rms@gnu.org>
* emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
(coding (or (cdr (assq (car script-language)
mac-script-code-coding-systems))
'mac-roman)))
- (mac-unread-string (mac-utxt-to-string text coding))))
+ (if text
+ (mac-unread-string (mac-utxt-to-string text coding)))))
;; kEventClassTextInput/kEventTextInputUpdateActiveInputArea
(define-key mac-apple-event-map [text-input update-active-input-area]