Commit b70b6847 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(mac-ts-unicode-for-key-event): Check if text is available.

parent 205f01b4
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.
......@@ -2104,7 +2104,8 @@ either in the current buffer or in the echo area."
(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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment