X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fx-compose.el;h=39fe43079b1bb2ae1d52af0b490591972ff6a916;hb=528ca5c9afc87d2d698ce64b29cc9b069d09894f;hp=15002779eaa07e71bfc1d693a49053ceafe54c6e;hpb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/x-compose.el b/lisp/x-compose.el index 1500277..39fe430 100644 --- a/lisp/x-compose.el +++ b/lisp/x-compose.el @@ -2,7 +2,7 @@ ;; Copyright (C) 1992, 1993, 1997 Free Software Foundation, Inc. -;; Author: Jamie Zawinski +;; Author: Jamie Zawinski ;; Maintainer: XEmacs Development Team ;; Rewritten by Martin Buchholz far too many times. ;; @@ -73,7 +73,7 @@ ;; work, depending on what system and keyboard you are using. If it ;; doesn't, you'll have to read the man page for xmodmap. You might want ;; to get the "xkeycaps" program from -;; , +;; , ;; which is a graphical front end to xmodmap ;; that hides xmodmap's arcane syntax from you. @@ -521,7 +521,12 @@ (eq 1 (length value)) (null (lookup-key keymap value))) (define-key keymap value value)))) - keymap)) + keymap + ;; #### It is currently not safe to add definitions to a keymap in + ;; map-keymap, due to a bug in map-keymap (dangling pointer to freed + ;; memory on a rehash). So we sort, which has the side effect of + ;; mapping over a copy of the original hash-table. + t)) (xlib-input-method-bug-workaround compose-map) (unintern 'xlib-input-method-bug-workaround) @@ -534,7 +539,12 @@ (alias-colon-to-doublequote value)) (when (eq key '\") (define-key keymap ":" value))) - keymap)) + keymap + ;; #### It is currently not safe to add definitions to a keymap in + ;; map-keymap, due to a bug in map-keymap (dangling pointer to freed + ;; memory on a rehash). So we sort, which has the side effect of + ;; mapping over a copy of the original hash-table. + t)) (alias-colon-to-doublequote compose-map) (unintern 'alias-colon-to-doublequote) @@ -696,7 +706,7 @@ which it understands) are: ;; (define-key binding [(control h)] 'compose-help) ;; (define-key binding [help] 'compose-help) )) - compose-map nil) + compose-map) ;; Make redisplay display the accented letters (if (memq (default-value 'ctl-arrow) '(t nil))