diff options
author | Miles Bader <miles@gnu.org> | 2007-08-29 05:28:10 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-08-29 05:28:10 +0000 |
commit | 094c7f5e487d843e7a01053234fa38d2410a3c06 (patch) | |
tree | 6edec2eb16745059d3b57054525a2533a741c0c8 /lisp/double.el | |
parent | 13f0affc77ff56a4e4ec962ba4c92ccbf39b33a0 (diff) | |
parent | 6a7189971f336259dcd1c9bde7797f26445dc5d9 (diff) | |
download | emacs-merge-multi-tty-to-trunk.tar.gz |
Merge multi-tty branchmerge-multi-tty-to-trunk
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-866
Diffstat (limited to 'lisp/double.el')
-rw-r--r-- | lisp/double.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/double.el b/lisp/double.el index 0b5cf110fbd..39a55744a05 100644 --- a/lisp/double.el +++ b/lisp/double.el @@ -145,11 +145,12 @@ but not `C-u X' or `ESC X' since the X is not the prefix key." (if enable-flag (progn ;; Set up key-translation-map as indicated by `double-map'. + ;; XXX I don't think key-translation-map should be made local here. -- Lorentey (kill-local-variable 'key-translation-map) (make-local-variable 'key-translation-map) (setq key-translation-map (if (keymapp key-translation-map) - (copy-keymap key-translation-map) - (make-sparse-keymap))) + (copy-keymap key-translation-map) + (make-sparse-keymap))) (mapcar (function (lambda (entry) (define-key key-translation-map (vector (nth 0 entry)) |