Commit eee841c3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(term-terminal-menu): Don't make a self-recursive keymap.

parent 57445e59
......@@ -523,8 +523,7 @@ Entry to this mode runs the hooks on term-mode-hook"
'("Character mode" . term-char-mode))
(define-key newmap [terminal-line-mode]
'("Line mode" . term-line-mode))
(define-key newmap [menu-bar terminal]
(setq term-terminal-menu (cons "Terminal" newmap)))
(setq term-terminal-menu (cons "Terminal" newmap))
;; completion: (line mode only)
(defvar term-completion-menu (make-sparse-keymap "Complete"))
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