aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-02-07 17:42:39 +0000
committerRichard M. Stallman2002-02-07 17:42:39 +0000
commitd05ea5b11fea165d1309e81fb5e446507adcee34 (patch)
tree474be4592eea7426e01f99e1a50f821d8d4f3359
parent92840a31c80bc888c161f53524e79d567a29334d (diff)
downloademacs-d05ea5b11fea165d1309e81fb5e446507adcee34.tar.gz
emacs-d05ea5b11fea165d1309e81fb5e446507adcee34.zip
(terminal-map): Define [menu-bar] so global def is seen.
-rw-r--r--lisp/terminal.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/terminal.el b/lisp/terminal.el
index 303bb695f42..438f1690673 100644
--- a/lisp/terminal.el
+++ b/lisp/terminal.el
@@ -100,6 +100,9 @@ performance."
100(if terminal-map 100(if terminal-map
101 nil 101 nil
102 (let ((map (make-sparse-keymap))) 102 (let ((map (make-sparse-keymap)))
103 ;; Prevent defining [menu-bar] as te-pass-through
104 ;; so we allow the global menu bar to be visible.
105 (define-key map [menu-bar] (make-sparse-keymap))
103 (define-key map [t] 'te-pass-through) 106 (define-key map [t] 'te-pass-through)
104 (define-key map [switch-frame] 'handle-switch-frame) 107 (define-key map [switch-frame] 'handle-switch-frame)
105 (define-key map "\e" terminal-meta-map) 108 (define-key map "\e" terminal-meta-map)
@@ -247,12 +250,9 @@ Other chars following \"%s\" are interpreted as follows:\n"
247 (where-is-internal 'te-escape-extended-command 250 (where-is-internal 'te-escape-extended-command
248 terminal-escape-map t) 251 terminal-escape-map t)
249 'te-escape-extended-command)) 252 'te-escape-extended-command))
250 (let ((l (if (fboundp 'sortcar) 253 (let ((l (sort (copy-sequence te-escape-command-alist)
251 (sortcar (copy-sequence te-escape-command-alist) 254 (function (lambda (a b)
252 'string<) 255 (string< (car a) (car b)))))))
253 (sort (copy-sequence te-escape-command-alist)
254 (function (lambda (a b)
255 (string< (car a) (car b))))))))
256 (while l 256 (while l
257 (let ((doc (or (documentation (cdr (car l))) 257 (let ((doc (or (documentation (cdr (car l)))
258 "Not documented"))) 258 "Not documented")))