mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 16:21:07 -08:00
(mac-ts-unicode-for-key-event): Check if text is available.
This commit is contained in:
parent
589e28cdeb
commit
59c58feafb
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue