From cdf074531a6b13f94d4eb2f85cbcc5074cd85c41 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 25 Feb 2002 10:50:29 +0000 Subject: [PATCH] (shell-mode-map): Add "Complete" header so completion menu is shown on the menu bar in shell mode. --- lisp/ChangeLog | 5 +++++ lisp/shell.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 99e73df3e17..ca0fe54b300 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-02-25 Kim F. Storm + + * shell.el (shell-mode-map): Add "Complete" header so completion + menu is shown on the menu bar in shell mode. + 2002-02-25 Stefan Monnier * ielm.el (ielm-match-data): New var. diff --git a/lisp/shell.el b/lisp/shell.el index f273540996b..a57106a82fd 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -315,7 +315,8 @@ Thus, this does not include the shell's current directory.") (define-key shell-mode-map "\M-?" 'comint-dynamic-list-filename-completions) (define-key shell-mode-map [menu-bar completion] - (copy-keymap (lookup-key comint-mode-map [menu-bar completion]))) + (cons "Complete" + (copy-keymap (lookup-key comint-mode-map [menu-bar completion])))) (define-key-after (lookup-key shell-mode-map [menu-bar completion]) [complete-env-variable] '("Complete Env. Variable Name" . shell-dynamic-complete-environment-variable) -- 2.39.5